Lance Richardson 232cb53a45 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>
2016-08-23 17:22:53 -07:00
..
2016-01-27 20:36:15 +08:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2016-08-19 17:09:42 -07:00
2016-04-15 17:29:36 -04:00
2016-06-03 19:37:21 -04:00
2016-07-16 22:02:09 -07:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:37:56 -05:00