Re: [Mesa-dev] [PATCH] glsl: Catch subscripted calls to undeclared subroutines

2017-11-19 Thread Timothy Arceri
Thanks for the fix! I've pushed the patch to master. On 19/11/17 21:55, George Barrett wrote: generate_array_index fails to check whether the target of a subroutine call exists in the AST, potentially passing around null ir_rvalue pointers eventuating in abort/segfault. Fixes: fd01840c0bd3b22d0

[Mesa-dev] [PATCH] glsl: Catch subscripted calls to undeclared subroutines

2017-11-19 Thread George Barrett
generate_array_index fails to check whether the target of a subroutine call exists in the AST, potentially passing around null ir_rvalue pointers eventuating in abort/segfault. Fixes: fd01840c0bd3b22d058a65a17ad30e3b45813b60 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438 --- src/co