diff options
author | Jonas Große Sundrup <jonas-git@grosse-sundrup.com> | 2020-10-09 12:08:34 +0200 |
---|---|---|
committer | Jonas Große Sundrup <jonas-git@grosse-sundrup.com> | 2020-10-09 12:36:41 +0200 |
commit | afc73e19827a4161890b9acfe4373914b3411aeb (patch) | |
tree | ab3c2513a9cdbf0c2ec8918d6648c920ea4b651d /yajl-fallback/yajl/yajl_version.h | |
parent | 3451a0d9fc81c69d4dcaf93b511459b164df05e8 (diff) |
Initialize fields with zero bytes in wireless module
Previously, the fields in the wireless module were declared but not explicitly
initialized upon declaration. As nothing else would do so afterwards, this
could introduce random characters left over in the memory segment into
the fields. This was explicitly observed in the essid-field, but likely
a possibility for other fields as well. Hence, this commit adds explicit
initialization with zero bytes to all fields to ensure proper
termination of all fields.
Fixes #432
Diffstat (limited to 'yajl-fallback/yajl/yajl_version.h')
0 files changed, 0 insertions, 0 deletions