diff options
author | 2014-12-05 11:46:56 +0100 | |
---|---|---|
committer | 2015-01-28 08:45:37 +0100 | |
commit | 9b97383b789c1b2a8d4bc54d142a12f9d0a12aa1 (patch) | |
tree | 27ddb52c4580e937ec73f7f6c21cd248ed25d8ae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'topic/atomic-core-2015-01-27' of git://anongit.freedesktop.org/drm-intel into drm-next (diff) | |
download | wireguard-linux-9b97383b789c1b2a8d4bc54d142a12f9d0a12aa1.tar.xz wireguard-linux-9b97383b789c1b2a8d4bc54d142a12f9d0a12aa1.zip |
drm/mipi-dsi: Avoid potential NULL pointer dereference
The mipi_dsi_packet_create() function dereferences the msg pointer
before checking that it's valid. Move the dereference down to where it
is required to avoid potentially dereferencing a NULL pointer.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions