"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "21289ec02b41c4b928a0b3de1778b325d714eea3"
drm/omap: Potential NULL deref in omap_crtc_duplicate_state()
If the kmalloc() fails then we dereference "state" when we set "state->zpos". Fixes: 3dfeb631 ("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>
Loading
Please register or sign in to comment