diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-05 16:46:50 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-10 15:03:52 -0400 |
commit | b2186061d6043d6345a97100460363e990af0d46 (patch) | |
tree | 2328ac3672838b62d468db3672b595f3f1c61071 /net/unix/af_unix.c | |
parent | 9e8742cdfc4b0e65266bb4a901a19462bda9285e (diff) | |
download | linux-b2186061d6043d6345a97100460363e990af0d46.tar.gz linux-b2186061d6043d6345a97100460363e990af0d46.tar.bz2 linux-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions