[Mesa-dev] [PATCH 0/3] Fixes 1 crash in gallium/hud and 1 crash in gallium/radeon
Julien Isorce
julien.isorce at gmail.com
Fri Mar 10 17:16:04 UTC 2017
I encountered these crashes with the radeonsi driver when the VRAM was full.
Even if the app should be careful to not upload too much texture for example,
it is better not to crash in mesa. Also I found other places in mesa when
these checks are done so let's do the same here.
I am quite confident with the first patch but unsure with the 2 others for the
teardown parts.
Julien Isorce (3):
radeon_cs_create_fence: check null return from radeon_winsys_bo_create
radeon_drm_cs_flush: check null return from radeon_cs_create_fence
hud_context: check NULL return from u_upload_alloc
src/gallium/auxiliary/hud/hud_context.c | 5 +++++
src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 25 ++++++++++++++-----------
2 files changed, 19 insertions(+), 11 deletions(-)
--
2.7.4
More information about the mesa-dev
mailing list