Skip to content
Commit f7b83b90 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Dave Airlie
Browse files

drm/edid: Fix potential memory leak in edid_load()



Do not leak memory by updating pointer with potentially
NULL realloc return value.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: default avatarCarsten Emde <C.Emde@osadl.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 959f7247
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment