mesa: NULL check InfoLog
authorMarta Lofstedt <marta.lofstedt@intel.com>
Tue, 23 Jun 2015 11:03:13 +0000 (13:03 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 7 Aug 2015 10:17:07 +0000 (13:17 +0300)
commit0508861f29f2d3b79fb803353e4ea8ab32654bc4
tree30609abd9c8649ce4e61a0a62ef4f0b878bcef03
parenta0b7c1c86e028309e639368b2b556b755761f68f
mesa: NULL check InfoLog

When a program is compiled, but linking failed the sh->InfoLog
could be NULL. This is expoloited by OpenGL ES 3.1 conformance tests.

Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shaderapi.c