diff options
| author | Dan Carpenter <[email protected]> | 2017-08-11 20:16:06 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2017-08-16 13:21:18 +0000 |
| commit | 2419672f4c96ca678a95d0f733f44d3ee036b5c8 (patch) | |
| tree | 12f127f22ffad39fd641287d68b4f7ff8b90faf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/omap: remove no-op cleanup code (diff) | |
| download | kernel-2419672f4c96ca678a95d0f733f44d3ee036b5c8.tar.gz kernel-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 <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
