summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-09-30 22:05:40 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-02 16:08:24 -0400
commit6865d1e834be84ddd5808d93d5035b492346c64a (patch)
treea970a98630b927756028377cb1d28b83535982be /block/blk-lib.c
parentd022af27908fad7696888196fe9a787c8995ab47 (diff)
downloadlinux-6865d1e834be84ddd5808d93d5035b492346c64a.tar.bz2
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions