aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-12-07 11:53:29 +0100
committerTom Rini <trini@konsulko.com>2022-12-22 15:39:13 -0500
commit56e3b1470333eb9294a5ae5f58515377aa546aae (patch)
treea04b35c1e6454c7aa96a46083923ddd39a31d5b3 /doc/conf.py
parent0d6d5a4aa6e04bedf87793de337c05a022268041 (diff)
net: don't memcpy to NULL
In ndisc_receive() 7 bytes are copied from a buffer of size 6 to NULL. net_nd_packet_mac is a pointer. If it is NULL, we should set it to the address of the buffer with the MAC address. Addresses-Coverity-ID: 430974 ("Out-of-bounds access") Fixes: c6610e1d90ea ("net: ipv6: Add Neighbor Discovery Protocol (NDP)") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Diffstat (limited to 'doc/conf.py')
0 files changed, 0 insertions, 0 deletions