summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorLance Richardson2016-08-23 17:40:52 +0200
committerDavid S. Miller2016-08-24 02:22:53 +0200
commit232cb53a45965f8789fbf0a9a1962f8c67ab1a3c (patch)
treec38b98c67c82791ae2612d4883bb5d8b72f632dc /net/ipv4
parentdwc_eth_qos: fix interrupt enable race (diff)
downloadkernel-qcow2-linux-232cb53a45965f8789fbf0a9a1962f8c67ab1a3c.tar.gz
kernel-qcow2-linux-232cb53a45965f8789fbf0a9a1962f8c67ab1a3c.tar.xz
kernel-qcow2-linux-232cb53a45965f8789fbf0a9a1962f8c67ab1a3c.zip
sctp: fix overrun in sctp_diag_dump_one()
The function sctp_diag_dump_one() currently performs a memcpy() of 64 bytes from a 16 byte field into another 16 byte field. Fix by using correct size, use sizeof to obtain correct size instead of using a hard-coded constant. Fixes: 8f840e47f190 ("sctp: add the sctp_diag.c file") Signed-off-by: Lance Richardson <lrichard@redhat.com> Reviewed-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions