summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAdam Guerin <adam.guerin@intel.com>2022-09-21 10:38:30 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-09-30 13:57:50 +0800
commit72f6e0ea2b0ecea8585f3cd4298286c85c5121e6 (patch)
treea67606813ee19a0e2f6ada2a5d6718706efaad20 /tools/perf/scripts/python/export-to-sqlite.py
parent0cb3c9cdf7fcc2ef75a6008223d2e3ee58ea00e1 (diff)
crypto: qat - add limit to linked list parsing
adf_copy_key_value_data() copies data from userland to kernel, based on a linked link provided by userland. If userland provides a circular list (or just a very long one) then it would drive a long loop where allocation occurs in every loop. This could lead to low memory conditions. Adding a limit to stop endless loop. Signed-off-by: Adam Guerin <adam.guerin@intel.com> Co-developed-by: Ciunas Bennett <ciunas.bennett@intel.com> Signed-off-by: Ciunas Bennett <ciunas.bennett@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions