diff options
author | Matthew Lindner <mattlindn@gmail.com> | 2023-03-29 11:31:08 -0700 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-05-22 21:47:24 -0500 |
commit | a1a2e27f84bef17b50fd7f5cca7e50bbad1f92d0 (patch) | |
tree | 8e164584c4954f8800999f37a17acbf72e1600e4 /video/out/gpu/user_shaders.h | |
parent | 2a2cb6a49eb0616d04a8d707513affd687e00a32 (diff) | |
download | mpv-a1a2e27f84bef17b50fd7f5cca7e50bbad1f92d0.tar.bz2 mpv-a1a2e27f84bef17b50fd7f5cca7e50bbad1f92d0.tar.xz |
context_drm_egl: check for non-existant drm in uninit
Previously, if vo_drm_init failed at the start of drm_egl_init it
caused a use-after-free in drm_egl_uninit when it tried to access the
non-existant drm context. At that point vo_drm_uninit had already been
called resulting in two different null pointer dereference. In this
situation the DRM private context had also not been allocated.
Diffstat (limited to 'video/out/gpu/user_shaders.h')
0 files changed, 0 insertions, 0 deletions