]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix out of scope variable access in hci_sock_cmsg()
authorJohann Felix Soden <johfel@users.sourceforge.net>
Mon, 15 Feb 2010 21:23:48 +0000 (22:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 28 Feb 2010 08:47:30 +0000 (00:47 -0800)
commitf3b972ec4659b0619090708c1ee4bd08514b04cc
treea21946f9190a137875071125c6125d5f8c14efbd
parent25f8f0587ad5135d897247fc5d20380ab3dfa00e
Bluetooth: Fix out of scope variable access in hci_sock_cmsg()

The pointer data can point to the variable ctv.
Access to data happens when ctv is already out of scope.

Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sock.c