summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aaline.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <[email protected]>2015-07-23 10:38:36 +0200
committerSamuel Iglesias Gonsalvez <[email protected]>2015-07-24 07:01:13 +0200
commit30f97b5e52b324d501c56df8902d294fb755a5b7 (patch)
tree7ee6f4febb349e67d5331bc2d164e3592b441aad /src/mesa/swrast/s_aaline.h
parent24a7d4e437e27c758c2848e887ceaf1d4a55ae50 (diff)
glsl/glcpp: fix SIGSEGV when checking error condition for macro redefinition
Commit a6e9cd14c does not take into account than node_{a,b}->next could be NULL in some circumstances, such as in a shader containing this code: #define A 1 /* comment */ #define A 1 /* comment */ This patch fixes the segmentation fault for cases like that. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91290 Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/swrast/s_aaline.h')
0 files changed, 0 insertions, 0 deletions