On 04/10/2016 01:52 PM, Mathias Krause wrote: > Because we miss to wipe the remainder of i->addr[] in packet_mc_add(), > pdiag_put_mclist() leaks uninitialized heap bytes via the > PACKET_DIAG_MCLIST netlink attribute. > > Fix this by explicitly memset(0)ing the remaining bytes in i->addr[]. > > Fixes: eea68e2f1a00 ("packet: Report socket mclist info via diag module") > Signed-off-by: Mathias Krause <mini...@googlemail.com> > Cc: Eric W. Biederman <ebied...@xmission.com> > Cc: Pavel Emelyanov <xe...@parallels.com>
Acked-by: Pavel Emelyanov <xe...@virtuozzo.com>