net: fix infoleak in llc
authorKangjie Lu <kangjielu@gmail.com>
Tue, 3 May 2016 20:35:05 +0000 (16:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 20:18:48 +0000 (16:18 -0400)
commitb8670c09f37bdf2847cc44f36511a53afc6161fd
tree30c2e57ee6f84f58c04ca3e3c440a0ec2a3dd9c1
parent1c021bb717a70aaeaa4b25c91f43c2aeddd922de
net: fix infoleak in llc

The stack object “info” has a total size of 12 bytes. Its last byte
is padding which is not initialized and leaked via “put_cmsg”.

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