summaryrefslogtreecommitdiff
path: root/netsniff-ng.8
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
commit7aebca65f569ceb5fd8a12bef5fa6b58f277683d (patch)
treed24596b0445d3a21ca5db4af480aa6e71bc74ae8 /netsniff-ng.8
parentdce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (diff)
mausezahn: Make sure '\0' is written after strncpy
Make sure params is always NULL-terminated as strncpy() doesn't guarantee this. Closes #134 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.8')
0 files changed, 0 insertions, 0 deletions
Other parts of the core dump path, such as fill_files_note() are already using vmalloc() for presumably similar reasons. Link: http://lkml.kernel.org/r/1479745791-17611-1-git-send-email-jbaron@akamai.com Signed-off-by: Jason Baron <jbaron@akamai.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/uapi')