commit | 7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Tue Mar 02 08:18:06 2021 -0800 |
committer | Alistair Delva <adelva@google.com> | Tue Mar 02 08:29:27 2021 -0800 |
tree | 526af73e88113346098ab2f3c6b429225bdfa8f3 | |
parent | 2e67fef5f6c5870a7cdaa010496c84dc91d34e53 [diff] |
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: Simon Ser <contact@emersion.fr> Signed-off-by: Alistair Delva <adelva@google.com>