Thread (4 messages) flat view 4 messages, 4 authors, 2016-08-24

Re: [PATCH net] sctp: fix overrun in sctp_diag_dump_one()

From: David Miller <davem@davemloft.net>
Date: 2016-08-24 00:23:26

From: Lance Richardson <redacted>
Date: Tue, 23 Aug 2016 11:40:52 -0400
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 <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help