OpenCloudOS-Kernel/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 net_tstamp,doc: Add test program for SIOC{G,S}HWTSTAMP 2013-11-22 20:10:53 +00:00
Makefile net-timestamp: expand documentation 2014-09-01 21:49:08 -07:00
hwtstamp_config.c net_tstamp,doc: Add test program for SIOC{G,S}HWTSTAMP 2013-11-22 20:10:53 +00:00
timestamping.c net: remove deprecated syststamp timestamp 2014-07-29 11:39:50 -07:00
txtimestamp.c net-timestamp: fix allocation error in test 2014-09-05 17:31:03 -07:00