]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Prevent uninitialized data access in L2CAP configuration
authorMat Martineau <mathewm@codeaurora.org>
Fri, 9 Dec 2011 01:23:21 +0000 (17:23 -0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 19 Dec 2011 00:16:04 +0000 (22:16 -0200)
commit36e999a83a4a4badd389901eb6d23a30e199b8db
tree68de431f908075834d37ac856852e08986585ca0
parent33cb722c22f28964a501a56cc76397834c221c7a
Bluetooth: Prevent uninitialized data access in L2CAP configuration

When configuring an ERTM or streaming mode connection, remote devices
are expected to send an RFC option in a successful config response.  A
misbehaving remote device might not send an RFC option, and the L2CAP
code should not access uninitialized data in this case.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c