aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian Gromm <[email protected]>2021-02-02 17:21:05 +0100
committerGreg Kroah-Hartman <[email protected]>2021-02-04 17:13:46 +0100
commit45b754ae5b82949dca2b6e74fa680313cefdc813 (patch)
tree4dd3b1d491a1bb86d1a7a7835a4b80a676f3738d /tools/perf/scripts/python/export-to-postgresql.py
parent06b0c0dce88e2aa2f01343db0f26d214d7f264a0 (diff)
staging: most: sound: add sanity check for function argument
This patch checks the function parameter 'bytes' before doing the subtraction to prevent memory corruption. Signed-off-by: Christian Gromm <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions