mesa/src
Christian Gmeiner a0b16a0890 etnaviv: move pctx initialisation to avoid a null dereference
In case ctx->stream == NULL the fail label gets executed where
pctx gets dereferenced - too bad pctx is NULL in that case.

Caught by Coverity, reported to me by imirkin.

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-02-21 21:14:27 +01:00
..
amd radv: make radv_resolve_entrypoint static 2017-02-21 18:31:16 +00:00
compiler nir: do not #include util/debug.h within extern C {} 2017-02-21 18:29:17 +00:00
egl egl: _eglFilterArray's filter is always non-null 2017-02-16 15:27:20 +00:00
gallium etnaviv: move pctx initialisation to avoid a null dereference 2017-02-21 21:14:27 +01:00
gbm gbm/dri: fix memory leaks in error path 2017-01-27 17:56:58 +00:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx/glvnd: Fix GLXdispatchIndex sorting 2017-02-15 09:55:57 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: remove unused anv_dispatch_table dtable 2017-02-21 18:31:04 +00:00
loader loader: unconditionally include unistd.h and stdlib.h 2017-02-10 11:47:12 +00:00
mapi mapi: automake: include builddir prior to srcdir 2017-01-27 17:56:56 +00:00
mesa i915: remove extern "C" guards 2017-02-21 18:29:43 +00:00
util util/build-id: define ElfW and NT_GNU_BUILD_ID if needed 2017-02-20 16:39:24 +00:00
vulkan vulkan/wsi/x11: add support to detect if we can support rendering (v3) 2017-02-20 12:53:52 +10:00
Makefile.am vulkan: automake: do not use EXTRA_DIST in a conditional 2017-01-18 13:41:32 +00:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00