diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2024-04-30 19:07:39 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-05-03 13:05:29 -0400 |
commit | 2e4edfa1e2bd821a317e7d006517dcf2f3fac68d (patch) | |
tree | 728be2b25cd60235f72e0abec49b22d91dd87b51 /tools/perf/scripts/python/stackcollapse.py | |
parent | 10f9f426ac6e752c8d87bf4346930ba347aaabac (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions