mesa/src/compiler
Kenneth Graunke 151aecabe4 glsl: Don't crash on function names with invalid identifiers.
Karol Herbst's fuzzing efforts noticed that we would segfault on:

   void bug() {
      2(0);
   }

We just need to bail if the function name isn't an identifier.

Based on a bug fix by Karol Herbst.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97422
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
2016-11-12 22:08:15 -08:00
..
glsl glsl: Don't crash on function names with invalid identifiers. 2016-11-12 22:08:15 -08:00
nir nir: update nir_gather_info to only mark used array/matrix elements 2016-11-11 09:17:07 +11:00
spirv ralloc: use rzalloc where it's necessary 2016-10-31 11:53:38 +01:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.glsl.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk
Android.nir.mk android: add SPIRV_FILES to libmesa_nir 2016-11-11 07:59:29 +02:00
Makefile.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.glsl.am glsl/standalone: Optimize add-of-neg to subtract 2016-11-10 14:30:49 -08:00
Makefile.nir.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.sources glsl: automake: add opt_add_neg_to_sub.h to the sources list 2016-11-11 14:46:12 +00:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
builtin_type_macros.h glsl: add subpass image type (v2) 2016-09-16 15:16:31 +10:00
glsl_types.cpp glsl: Fix reading of uninitialized memory 2016-10-31 11:53:38 +01:00
glsl_types.h glsl: initialize glsl_struct_field properly 2016-10-31 11:53:38 +01:00
nir_types.cpp nir: add more helpers to nir_types.cpp 2016-11-11 09:17:07 +11:00
nir_types.h nir: add more helpers to nir_types.cpp 2016-11-11 09:17:07 +11:00
shader_enums.c compiler: add printable values for cull distance varyings. 2016-10-04 10:15:23 +10:00
shader_enums.h mesa/compiler: move MAX_VARYING to shader_enums.h 2016-11-11 09:17:07 +11:00
shader_info.h compiler: add additional cs metadata fields to shader info 2016-10-26 14:29:36 +11:00