summaryrefslogtreecommitdiff
path: root/nouveau
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2021-03-02 08:18:06 -0800
committerAlistair Delva <adelva@google.com>2021-03-02 08:29:27 -0800
commit7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 (patch)
tree526af73e88113346098ab2f3c6b429225bdfa8f3 /nouveau
parent2e67fef5f6c5870a7cdaa010496c84dc91d34e53 (diff)
downloaddrm-7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476.tar.gz
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>
Diffstat (limited to 'nouveau')
0 files changed, 0 insertions, 0 deletions