]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:42 +0000 (15:35 -0400)
commita9b4f1a56faac050bcccec67b01faa2e78d9735b
tree648cca4e3523d792703a06af7810a70b598fd649
parentce838ded70a01b09d8429c62a63741cd000abb06
Bluetooth: l2cap and rfcomm: fix 1 byte infoleak to userspace.

commit 8d03e971cf403305217b8e62db3a2e5ad2d6263f upstream.

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>
[PG: l2cap_sock.c chunk is in l2cap.c in a 2.6.34 context/baseline]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/bluetooth/l2cap.c
net/bluetooth/rfcomm/sock.c