mesa/src
Ian Romanick f730c210b8 egl/dri2: NULL check value returned by dri2_create_surface
dri2_create_surface can fail for a variety of reasons, including bad
input data.  Dereferencing the NULL pointer and crashing is not okay.

Fixes issue identified by Klocwork analysis:

    Pointer 'surf' returned from call to function 'dri2_create_surface'
    at line 285 may be NULL and will be dereferenced at line 291.

NOTE: This is a candidate for the stable branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2013-04-12 16:24:48 -07:00
..
egl egl/dri2: NULL check value returned by dri2_create_surface 2013-04-12 16:24:48 -07:00
gallium r300g: Fix bug in OMOD optimization 2013-04-12 08:33:31 -07:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Fix hypothetical NULL dereference related to process_array_type 2013-04-12 16:24:44 -07:00
glx Honor GLX_DONT_CARE in MATCH_MASK 2013-04-05 14:32:45 -07:00
gtest
mapi glapi: fix storage multisample build errors 2013-03-31 20:41:28 +10:00
mesa mesa: NULL check the pointer before trying to dereference it 2013-04-12 16:24:48 -07:00
Makefile.am
SConscript