OpenGL driver for ARM Mali400/450

Forked from Lima / mesa

  • marmeladema's avatar
    lima: fix NULL pointer dereference on error path in lima_context_destroy · 0dd3dee3
    marmeladema authored
    When the following code path happens:
    lima_context_create
    |-> lima_submit_create
        |-> drmSyncobjCreate: can fail here
        |Thus ctx->pp_submit and ctx->gp_submit are NULL
        |-> lima_context_destroy
            |-> lima_submit_free: will access submit->in_sync_fd
    
    It triggers a segfault in mesa because we are trying to derefence
    both ctx->pp_submit and ctx->gp_submit which are NULL.
    0dd3dee3
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...