summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-02-13 12:09:40 +0300
committerLuca Coelho <luciano.coelho@intel.com>2018-04-26 15:18:07 +0300
commit9039d985811d5b109b58b202b7594fd24e433fed (patch)
treedcbb9ffc383cd33f0b347ecae15badfefaedebfe /tools/perf/scripts/python/check-perf-trace.py
parent1e5b7750315a8c2242444acda495555e7d52a6bf (diff)
downloadlinux-9039d985811d5b109b58b202b7594fd24e433fed.tar.xz
iwlwifi: fw: harden page loading code
The page loading code trusts the data provided in the firmware images a bit too much and may cause a buffer overflow or copy unknown data if the block sizes don't match what we expect. To prevent potential problems, harden the code by checking if the sizes we are copying are what we expect. Cc: stable@vger.kernel.org Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions