linux/net/bluetooth/bnep
Luiz Augusto von Dentz 0f0639b4d6 Bluetooth: bnep: Fix out-of-bound access
This fixes attempting to access past ethhdr.h_source, although it seems
intentional to copy also the contents of h_proto this triggers
out-of-bound access problems with the likes of static analyzer, so this
instead just copy ETH_ALEN and then proceed to use put_unaligned to copy
h_proto separetely.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-03-06 17:26:24 -05:00
..
bnep.h Bluetooth: Replace zero-length array with flexible-array member 2020-02-28 08:30:02 +01:00
core.c Bluetooth: bnep: Fix out-of-bound access 2024-03-06 17:26:24 -05:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
netdev.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
sock.c Bluetooth: Consolidate code around sk_alloc into a helper function 2023-08-11 11:36:50 -07:00