diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-11 23:16:06 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-08-16 16:21:18 +0300 |
commit | 2419672f4c96ca678a95d0f733f44d3ee036b5c8 (patch) | |
tree | 12f127f22ffad39fd641287d68b4f7ff8b90faf5 /drivers/ata/pata_jmicron.c | |
parent | 4161f200ff380b0703c7bfa8df9615cc7fd76ba7 (diff) |
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/ata/pata_jmicron.c')
0 files changed, 0 insertions, 0 deletions