Dan Carpenter 2419672f4c 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>
2017-08-16 16:21:18 +03:00
..
2017-08-16 15:38:52 +03:00
2017-06-02 10:57:13 +03:00
2015-03-24 13:50:55 +02:00
2017-08-16 16:21:07 +03:00
2017-06-02 11:04:17 +03:00
2017-06-02 10:57:21 +03:00