diff options
author | Thierry Reding <treding@nvidia.com> | 2014-12-05 13:46:56 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-01-28 10:45:37 +0300 |
commit | 9b97383b789c1b2a8d4bc54d142a12f9d0a12aa1 (patch) | |
tree | 27ddb52c4580e937ec73f7f6c21cd248ed25d8ae /drivers/firmware | |
parent | 21773f16f2cb3c056051c679da542f0b494252e2 (diff) | |
download | linux-9b97383b789c1b2a8d4bc54d142a12f9d0a12aa1.tar.xz |
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 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions