OrangePi_CM5/Documentation/networking/timestamping
Willem de Bruijn 18a47e6d8a 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: 8fe2f761ca ("net-timestamp: expand documentation")

Reported-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-09-05 17:31:03 -07:00
..
.gitignore
Makefile net-timestamp: expand documentation 2014-09-01 21:49:08 -07:00
hwtstamp_config.c
timestamping.c
txtimestamp.c net-timestamp: fix allocation error in test 2014-09-05 17:31:03 -07:00