Commit 6865d1e834be84ddd5808d93d5035b492346c64a
Committed by
David S. Miller
1 parent
d022af2790
Exists in
master
and in
20 other branches
unix_diag: fix info leak
When filling the netlink message we miss to wipe the pad field, therefore leak one byte of heap memory to userland. Fix this by setting pad to 0. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
net/unix/diag.c