[Mesa-dev] [PATCH] glsl/glcpp: fix SIGSEGV when checking error condition for macro redefinition

Samuel Iglesias Gonsálvez siglesias at igalia.com
Thu Jul 23 21:56:52 PDT 2015



On 23/07/15 18:56, Emil Velikov wrote:
> On 23 July 2015 at 10:19, Samuel Iglesias Gonsalvez
> <siglesias at igalia.com> wrote:
>> 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
> This seems to have been broken since ~10.3. Can you add the Cc: mesa-stable tag.
> 

Sure! Thanks Emil,

Sam

> Thanks
> Emil
> 


More information about the mesa-dev mailing list