diff options
author | Joe Moriarty <[email protected]> | 2018-02-12 14:51:43 -0500 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2018-02-19 13:01:20 +0100 |
commit | a5ef65673667fc37ffa55884915f953cb5cc3b3e (patch) | |
tree | bae1bfcc065bd8a7757843b714b78375a3ea811a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 22a07038c0eaf4d1315a493ce66dcd255accba19 (diff) |
drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem
The Parfait (version 2.1.0) static code analysis tool found the
following NULL pointer derefernce problem.
- drivers/gpu/drm/drm_edid.c
The call to drm_cvt_mode() in function drm_mode_std() for the
HDTV hack resulted in the possibility of accessing a NULL pointer
if drm_mode_std() returned NULL. A check for this added right after
the call to drm_cvt_mode() in this particular area of code.
Signed-off-by: Joe Moriarty <[email protected]>
Reviewed-by: Steven Sistare <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions