aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-09-29 13:18:57 +0100
committerRob Clark <[email protected]>2021-10-11 17:30:53 -0700
commit2133c4fc8e1348dcb752f267a143fe2254613b34 (patch)
treefca18df1a4201ba4ffe3f81f5ee91327d381564d /scripts/gdb/linux/utils.py
parentc491a0c7bbf3a64732cb8414021429d15ec08eec (diff)
drm/msm: Fix null pointer dereference on pointer edp
The initialization of pointer dev dereferences pointer edp before edp is null checked, so there is a potential null pointer deference issue. Fix this by only dereferencing edp after edp has been null checked. Addresses-Coverity: ("Dereference before null check") Fixes: ab5b0107ccf3 ("drm/msm: Initial add eDP support in msm drm driver (v5)") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions