aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorOleg Drokin <[email protected]>2016-12-07 00:39:27 -0500
committerGreg Kroah-Hartman <[email protected]>2016-12-07 16:29:10 +0100
commit4f43d8dbe634cc79c4b45cc088d066768c0359d2 (patch)
treee53c87253b4ba20ae0ee323da7a2d5e3fbe009ef /tools/perf/scripts/python/call-graph-from-postgresql.py
parent3282998c8010f6eb42950d628f4df980da528b75 (diff)
staging/lustre/lnetselftest: Fix potential integer overflow
It looks like if the passed in parameter is not present, but parameter length is non zero, then sanity checks on the length are skipped and lstcon_test_add() might then use incorrect allocation that's prone to integer overflow size. This patch ensures that parameter len is zero if parameter is not present. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions