aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGilad Ben-Yossef <[email protected]>2020-01-29 16:37:54 +0200
committerHerbert Xu <[email protected]>2020-02-13 17:05:24 +0800
commitce0fc6db38decf0d2919bfe783de6d6b76e421a9 (patch)
tree3e6b3bcab86364c8ded48f79fc9ea9f0188d8f28 /tools/perf/scripts/python/export-to-postgresql.py
parent07b586fe06625b0b610dc3d3a969c51913d143d4 (diff)
crypto: ccree - protect against empty or NULL scatterlists
Deal gracefully with a NULL or empty scatterlist which can happen if both cryptlen and assoclen are zero and we're doing in-place AEAD encryption. This fixes a crash when this causes us to try and map a NULL page, at least with some platforms / DMA mapping configs. Cc: [email protected] # v4.19+ Reported-by: Geert Uytterhoeven <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Gilad Ben-Yossef <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions