Bluetooth: l2cap: fix 1 byte infoleak to userspace
commite3fb592b15602196d38b225dc78aab8d631a5f89
authorVasiliy Kulikov <segoon@openwall.com>
Thu, 10 Feb 2011 17:59:42 +0000 (10 20:59 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 11 Feb 2011 17:21:29 +0000 (11 15:21 -0200)
treee105066cfe0e797fe02d47eae396d934d3c23a18
parent6d1d4ea4a82f8c17a3ff7c2f677bc3d41ea7484b
Bluetooth: l2cap: fix 1 byte infoleak to userspace

Structure l2cap_options has one padding byte between max_tx and
txwin_size fields.  This byte in "opts" is copied to userspace
uninitialized.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_sock.c