aboutsummaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-04-05 16:46:50 -0400
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-04-10 15:03:52 -0400
commitb2186061d6043d6345a97100460363e990af0d46 (patch)
tree2328ac3672838b62d468db3672b595f3f1c61071 /lib/usercopy.c
parentBluetooth: ISO: Fix not validating setsockopt user input (diff)
downloadlinux-rng-b2186061d6043d6345a97100460363e990af0d46.tar.xz
linux-rng-b2186061d6043d6345a97100460363e990af0d46.zip
Bluetooth: hci_sock: Fix not validating setsockopt user input
Check user input length before copying data. Fixes: 09572fca7223 ("Bluetooth: hci_sock: Add support for BT_{SND,RCV}BUF") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions