aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-06-25 07:18:44 -0500
committerVille Syrjälä <[email protected]>2018-06-26 16:23:46 +0300
commit80c18ba11a7a84cb97e39e5c9b6cdeee9f3c0728 (patch)
tree4d4831d233247f6b92abfad87d333ba8b473558a /tools/perf/scripts/python/syscall-counts-by-pid.py
parenta63d3bd230772b307c6595469e615d44a1dacdab (diff)
drm/gma500: Fix potential NULL pointer dereference
fb is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after fb has been properly null checked at line 74: if (!fb) Addresses-Coverity-ID: 1470169 ("Dereference before null check") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions