commit | e1eacd6b16b014eb42bcf6683ebe2334c3a35c68 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Fri Oct 29 00:17:07 2010 +0200 |
committer | Thomas Graf <tgraf@suug.ch> | Fri Oct 29 00:17:07 2010 +0200 |
tree | 4708227a9cb93a54a5d3f0c0325da7d450470eae | |
parent | d0e564548f6eff0a8d49e5e9cb618a8d297a1b98 [diff] |
Fix use of uninitialized data at the end of netlink message The netlink message buffer is preallocated to a page and later expanded as needed. Everything was properly paded and zeroed out except for the unused part at the end. Use calloc() to allocate the buffer.