make sure that records are initialized to avoid potential core dumps after incomplete parsning and repacking
This commit is contained in:
@ -3706,6 +3706,8 @@ mbus_data_record_new()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
memset(record, 0, sizeof(mbus_data_record));
|
||||
|
||||
record->next = NULL;
|
||||
return record;
|
||||
}
|
||||
|
Reference in New Issue
Block a user