diff options
author | 2017-08-11 20:55:15 -0500 | |
---|---|---|
committer | 2017-08-18 09:10:46 +0200 | |
commit | 3c2c42eb47f2e2272e0cc244751cd312e18d5142 (patch) | |
tree | cf6b9382823e50bd1ec6d8eacf0148199e55cff4 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm/tinydrm: make function st7586_pipe_enable static (diff) | |
download | wireguard-linux-3c2c42eb47f2e2272e0cc244751cd312e18d5142.tar.xz wireguard-linux-3c2c42eb47f2e2272e0cc244751cd312e18d5142.zip |
drm/gma500: fix potential NULL pointer dereference dereference
NULL check at line 528: if (!sender || !data_out || !len_out) {, implies
that pointer _sender_ might be NULL.
Move pointer _sender_ dereference after NULL check in order to avoid a
potential NULL pointer dereference.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170812015515.GA8360@embeddedgus
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions