summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-02-28 18:49:26 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-03-07 01:26:22 +0300
commit81137162bfaa7278785b24c1fd2e9e74f082e8e4 (patch)
tree944a0875e6f12bf11393874812043f7fc96cf555 /tools/perf/scripts/python/export-to-postgresql.py
parentde4e88ec58c4202efd1f02eebb4939bbf6945358 (diff)
downloadlinux-81137162bfaa7278785b24c1fd2e9e74f082e8e4.tar.xz
Bluetooth: hci_core: Fix possible buffer overflow
struct hci_dev_info has a fixed size name[8] field so in the event that hdev->name is bigger than that strcpy would attempt to write past its size, so this fixes this problem by switching to use strscpy. Fixes: dcda165706b9 ("Bluetooth: hci_core: Fix build warnings") 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