Merge pull request #5070 from akallabeth/gw_fixes_redirection

Fixed buffer reset in fields_present_to_string
This commit is contained in:
Bernhard Miklautz 2018-11-29 11:10:14 +00:00 committed by GitHub
commit 1a33b3383c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ static const char* fields_present_to_string(UINT16 fieldsPresent, const t_err_ma
size_t x = 0;
static char buffer[1024] = { 0 };
char fields[12];
memset(buffer, 0, sizeof(buffer));
for (x = 0; x < elements; x++)
{