summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.c
diff options
context:
space:
mode:
authorDan Carpenter2017-08-11 22:16:06 +0200
committerTomi Valkeinen2017-08-16 15:21:18 +0200
commit2419672f4c96ca678a95d0f733f44d3ee036b5c8 (patch)
tree12f127f22ffad39fd641287d68b4f7ff8b90faf5 /drivers/gpu/drm/tegra/drm.c
parentdrm/omap: remove no-op cleanup code (diff)
downloadkernel-qcow2-linux-2419672f4c96ca678a95d0f733f44d3ee036b5c8.tar.gz
kernel-qcow2-linux-2419672f4c96ca678a95d0f733f44d3ee036b5c8.tar.xz
kernel-qcow2-linux-2419672f4c96ca678a95d0f733f44d3ee036b5c8.zip
drm/omap: Potential NULL deref in omap_crtc_duplicate_state()
If the kmalloc() fails then we dereference "state" when we set "state->zpos". Fixes: 3dfeb631a15d ("drm/omap: Rework the rotation-on-crtc hack") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.c')
0 files changed, 0 insertions, 0 deletions