diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-02-28 20:11:08 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-03-07 01:26:24 +0300 |
commit | 0f0639b4d6f649338ce29c62da3ec0787fa08cd1 (patch) | |
tree | 7112c3c4b2bb86ff81b62394414884a5adb84f96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 79f4127a502c5905f04da1f20a7bbe07103fb77c (diff) | |
download | linux-0f0639b4d6f649338ce29c62da3ec0787fa08cd1.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions