Skip to content

xf86drm: fix null pointer deref in drmGetBufInfo

Alistair Delva requested to merge adelva1984/drm:fix-drmGetBufInfo-npd into master

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

Issue: #62 (closed) Signed-off-by: Alistair Delva adelva@google.com

Edited by Simon Ser

Merge request reports

Loading