diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-09-30 22:05:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-04 04:35:15 -0800 |
commit | 214351333b67444e0a431ee349534f2cee1f8cef (patch) | |
tree | 92c7cb19d9c5e4cb289b6d1f6646b129b547d49c /lib/idr.c | |
parent | 6b9588a38ee0dd352182d4f2f98cca7c5aa55680 (diff) |
unix_diag: fix info leak
[ Upstream commit 6865d1e834be84ddd5808d93d5035b492346c64a ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions