net: fix infoleak in rtnetlink
authorKangjie Lu <kangjielu@gmail.com>
Tue, 3 May 2016 20:46:24 +0000 (16:46 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 Jun 2016 20:28:15 +0000 (21:28 +0100)
commit 5f8e44741f9f216e33736ea4ec65ca9ac03036e6 upstream.

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>
[bwh: Backported to 3.2: adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found