aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-03-20 14:08:50 +0000
committerGreg Kroah-Hartman <[email protected]>2017-03-21 08:36:14 +0100
commit35060a228e70c712cb626ef3eabaedc40903eb77 (patch)
treec014727b24d6cb2db5479d4ae87a5ab5240432f2 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc62990801d3beb7e6182c742832128ef3e2b1100 (diff)
staging: vc04_services: fix NULL pointer dereference on pointer 'service'
Currently, if pservice is null then service is set to NULL and immediately afterwards service is dereferenced causing a null pointer dereference. Fix this by bailing out early of the function with a null return. Detected by CoverityScan, CID#1419681 ("Explicit null dereferenced") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Stefan Wahren <[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