Bluetooth: hci_sock: Fix not validating setsockopt user input
Check user input length before copying data. Fixes: 09572fca ("Bluetooth: hci_sock: Add support for BT_{SND,RCV}BUF") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Showing
Please register or sign in to comment