aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2014-09-04 14:15:45 +0000
committerDavid S. Miller <[email protected]>2014-09-06 00:31:03 +0000
commit18a47e6d8af01db1b691802a6bb8eae73d83ad9e (patch)
tree2fccea7845dc27a4d5543aa58c21fabf5ef0f033 /net/ipv4/tcp_timer.c
parenthyperv: NULL dereference on error (diff)
downloadkernel-18a47e6d8af01db1b691802a6bb8eae73d83ad9e.tar.gz
kernel-18a47e6d8af01db1b691802a6bb8eae73d83ad9e.zip
net-timestamp: fix allocation error in test
A buffer is incorrectly zeroed to the length of the pointer. If cfg_payload_len < sizeof(void *) this can overwrites unrelated memory. The buffer contents are never read, so no need to zero. Fixes: 8fe2f761cae9 ("net-timestamp: expand documentation") Reported-by: Daniel Borkmann <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions