diff options
author | Johan Hovold <[email protected]> | 2024-05-01 14:34:52 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2024-05-03 13:05:32 -0400 |
commit | cda0d6a198e2a7ec6f176c36173a57bdd8af7af2 (patch) | |
tree | ca23cfe2b4010de13158244afc683cbd9475a6ab /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | dd336649ba89789c845618dcbc09867010aec673 (diff) |
Bluetooth: qca: fix info leak when fetching fw build id
Add the missing sanity checks and move the 255-byte build-id buffer off
the stack to avoid leaking stack data through debugfs in case the
build-info reply is malformed.
Fixes: c0187b0bd3e9 ("Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC")
Cc: [email protected] # 5.12
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions