aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2017-08-12 07:56:00 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 07:08:53 -0400
commitfc3fb43e41a15a3508f919a825c186c6e5a22404 (patch)
treebfe3d2d76a25dafac9ee2c80c2198911c81550ea /tools/perf/scripts/python/stackcollapse.py
parentadb57f60ace633f1ac78cd4e90b7381a9b5abd12 (diff)
media: ddbridge: fix dereference before check
Both ts_release() and ts_open() can use "output" before check (smatch): drivers/media/pci/ddbridge/ddbridge-core.c:816 ts_release() warn: variable dereferenced before check 'output' (see line 809) drivers/media/pci/ddbridge/ddbridge-core.c:836 ts_open() warn: variable dereferenced before check 'output' (see line 828) Fix by performing checks on those pointers. Cc: Ralph Metzler <[email protected]> Signed-off-by: Daniel Scheller <[email protected]> Tested-by: Richard Scobie <[email protected]> Tested-by: Jasmin Jessich <[email protected]> Tested-by: Dietmar Spingler <[email protected]> Tested-by: Manfred Knick <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions