Fixed buffer reset in fields_present_to_string

This commit is contained in:
Armin Novak 2018-11-26 14:11:29 +01:00
parent 657087e3a8
commit 263cc74580

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++)
{