mesa/src
Eduardo Lima Mitev 89cbe0d21f main/texobj: Check that texture id > 0 before looking it up in hash-table
_mesa_lookup_texture_err() is not currently checking that the
texture-id can be zero, but _mesa_HashLookup() doesn't expect the key
to be zero, and will fail an assertion.

Considering that _mesa_lookup_texture_err() is called from
_mesa_GetTextureImage and _mesa_GetTextureSubImage with user provided
arguments, we must validate the texture-id before looking it up in the
hash-table.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-11-24 08:23:45 +01:00
..
amd radv: fix flipped blits 2016-11-23 23:49:32 +00:00
compiler compiler/glsl/tests: Fix print format when building 32-bit binaries on 64-bit host 2016-11-23 10:15:00 -06:00
egl egl/x11: store xcb_screen_t *screen instead of int screen 2016-11-22 15:13:41 +00:00
gallium util: fix memory leak from the fragment shaders for SINT<->UINT blits 2016-11-23 22:53:08 -08:00
gbm gbm: request correct version of the DRI2_FENCE extension 2016-11-22 15:56:44 +00:00
getopt
glx dri: make use of loader_get_extensions_name(..) helper 2016-11-15 18:15:16 +00:00
gtest
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv/gen7: only enable dual-source blending when there are dual-source factors 2016-11-23 19:40:00 -08:00
loader loader: automake: whitespace cleanup 2016-11-21 14:46:40 +00:00
mapi mesa: add missing CONTEXT_ROBUST_ACCESS enum 2016-10-27 07:06:41 +03:00
mesa main/texobj: Check that texture id > 0 before looking it up in hash-table 2016-11-24 08:23:45 +01:00
util util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
vulkan/wsi wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR 2016-11-16 09:17:34 +10:00
Makefile.am amd: flatten amd/common makefile structure 2016-11-15 20:04:37 +00:00
SConscript