summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_functions.cpp
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-01-10 16:55:17 -0800
committerChad Versace <[email protected]>2011-01-10 17:28:24 -0800
commit4fff52f1c973f2f284c142fbb31536a9656767c9 (patch)
tree6916f847a33adc7a2b542cad136b91b8162cfd4a /src/glsl/opt_dead_functions.cpp
parentc0cdae03685056e170c25da7d46aed959176d652 (diff)
glcpp: Fix segfault when validating macro redefinitions
In _token_list_equal_ignoring_space(token_list_t*, token_list_t*), add a guard that prevents dereferncing a null token list. This fixes test src/glsl/glcpp/tests/092-redefine-macro-error-2.c and Bugzilla #32695.
Diffstat (limited to 'src/glsl/opt_dead_functions.cpp')
0 files changed, 0 insertions, 0 deletions