diff options
author | 2024-04-30 19:07:39 +0200 | |
---|---|---|
committer | 2024-05-03 13:05:29 -0400 | |
commit | 2e4edfa1e2bd821a317e7d006517dcf2f3fac68d (patch) | |
tree | 728be2b25cd60235f72e0abec49b22d91dd87b51 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Bluetooth: msft: fix slab-use-after-free in msft_do_close() (diff) | |
download | wireguard-linux-2e4edfa1e2bd821a317e7d006517dcf2f3fac68d.tar.xz wireguard-linux-2e4edfa1e2bd821a317e7d006517dcf2f3fac68d.zip |
Bluetooth: qca: add missing firmware sanity checks
Add the missing sanity checks when parsing the firmware files before
downloading them to avoid accessing and corrupting memory beyond the
vmalloced buffer.
Fixes: 83e81961ff7e ("Bluetooth: btqca: Introduce generic QCA ROME support")
Cc: stable@vger.kernel.org # 4.10
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions