Bluetooth: l2cap and rfcomm: fix 1 byte infoleak to userspace.
authorFilip Palian <s3810@pjwstk.edu.pl>
Thu, 12 May 2011 17:32:46 +0000 (19:32 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 9 Jun 2011 18:30:01 +0000 (15:30 -0300)
commit8d03e971cf403305217b8e62db3a2e5ad2d6263f
tree849bb2e439234c63480c6485a3b663a3377cfd21
parent51892dbbd511911c0f965a36b431fc3e8f1e4f8a
Bluetooth: l2cap and rfcomm: fix 1 byte infoleak to userspace.

Structures "l2cap_conninfo" and "rfcomm_conninfo" have one padding
byte each. This byte in "cinfo" is copied to userspace uninitialized.

Signed-off-by: Filip Palian <filip.palian@pjwstk.edu.pl>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_sock.c
net/bluetooth/rfcomm/sock.c