Skip to content
Commit 7d6a1759 authored by Alistair Delva's avatar Alistair Delva
Browse files

xf86drm: fix null pointer deref in drmGetBufInfo

If info.count is large, drmMalloc() / alloca() may fail, and the
resulting null pointer is not null checked before dereference.

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/62



Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
Signed-off-by: default avatarAlistair Delva <adelva@google.com>
parent 2e67fef5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment