Re: [Mesa-dev] [PATCH] glsl: fixed uninitialized pointer

2016-05-12 Thread Alejandro PiƱeiro
On 11/05/16 14:10, Jakob Sinclair wrote: > Class "ir_constant" had a bunch of constructors where the pointer member > "array_elements" had not been initialized. This could have lead to unsafe > code if something had tried to write anything to it. This patch fixes > this issue by initializing the po

[Mesa-dev] [PATCH] glsl: fixed uninitialized pointer

2016-05-11 Thread Jakob Sinclair
Class "ir_constant" had a bunch of constructors where the pointer member "array_elements" had not been initialized. This could have lead to unsafe code if something had tried to write anything to it. This patch fixes this issue by initializing the pointer to NULL in all the constructors. This issue

[Mesa-dev] [PATCH] glsl: fixed uninitialized pointer

2016-05-08 Thread Jakob Sinclair
Class "ir_constant" had a bunch of constructors where the pointer member "array_elements" had not been initialized. This could have lead to unsafe code if something had tried to write anything to it. This patch fixes this issue by initializing the pointer to NULL in all the constructors. This issue