Fixed buffer reset in fields_present_to_string
This commit is contained in:
parent
657087e3a8
commit
263cc74580
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user