summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCharles Han <hanchunchao@inspur.com>2024-12-27 12:20:46 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-01-15 18:34:27 +0300
commitb88655bc6593c6a7fdc1248b212d17e581c4334e (patch)
treef351d1df46b820265855befc1ecb571965cf254f /tools/perf/scripts/python/export-to-postgresql.py
parent30209aeff75fe18cf01a63332a7a7f472877d445 (diff)
downloadlinux-b88655bc6593c6a7fdc1248b212d17e581c4334e.tar.xz
Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
devm_kstrdup() can return a NULL pointer on failure,but this returned value in btbcm_get_board_name() is not checked. Add NULL check in btbcm_get_board_name(), to handle kernel NULL pointer dereference error. Fixes: f9183eaad915 ("Bluetooth: btbcm: Use devm_kstrdup()") Signed-off-by: Charles Han <hanchunchao@inspur.com> 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