aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-07-19 22:53:50 +0200
committerMiquel Raynal <[email protected]>2018-07-31 09:45:51 +0200
commitbdc4e58d5395fb45e22a54e01312f1abb22523ef (patch)
treeec023835f1b4ce202ac8f43f81ab62c9253bc360 /tools/perf/scripts/python/bin/stackcollapse-record
parent760c435e0f85ed19e48a90d746ce1de2cd02def7 (diff)
mtd: rawnand: s3c2410: Error out when ->nrsets < 0 or ->sets == NULL
All of the code in the probe path assumes ->sets != NULL and ->nrsets > 0. Error out if that's not the case to avoid dereferencing a NULL pointer. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions