summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-02-13 11:09:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-26 07:54:05 +0800
commit66499586cf7f3a88fa93a1b5c0fe349fea936d82 (patch)
tree88e0afcadb53d599a5148cc54ed7515d24f1a8a2 /tools/perf/scripts/python/stackcollapse.py
parent4ea9a1cd0fc96f046f1131fa85932f1b6ef7923d (diff)
iwlwifi: fw: harden page loading code
commit 9039d985811d5b109b58b202b7594fd24e433fed upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions