net: fix infoleak in rtnetlink
authorKangjie Lu <kangjielu@gmail.com>
Tue, 3 May 2016 20:46:24 +0000 (16:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 20:19:42 +0000 (16:19 -0400)
commit5f8e44741f9f216e33736ea4ec65ca9ac03036e6
tree3c078305d96895088203e3d38b6851472897a4e6
parentb8670c09f37bdf2847cc44f36511a53afc6161fd
net: fix infoleak in rtnetlink

The stack object “map” has a total size of 32 bytes. Its last 4
bytes are padding generated by compiler. These padding bytes are
not initialized and sent out via “nla_put”.

Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c