diff options
author | Alistair Delva <adelva@google.com> | 2021-03-02 08:18:06 -0800 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2021-03-02 08:29:27 -0800 |
commit | 7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 (patch) | |
tree | 526af73e88113346098ab2f3c6b429225bdfa8f3 /tegra | |
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>
Diffstat (limited to 'tegra')
0 files changed, 0 insertions, 0 deletions