Re: [Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-09 Thread Brian Paul
On 12/09/2013 08:19 AM, Pohjolainen, Topi wrote: On Mon, Dec 09, 2013 at 02:29:21PM +0200, Juha-Pekka Heikkila wrote: Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/attrib.c | 320 + 1 file changed, 272 insertions(+), 48 deletions(-) dif

Re: [Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-09 Thread Pohjolainen, Topi
On Mon, Dec 09, 2013 at 02:29:21PM +0200, Juha-Pekka Heikkila wrote: > Signed-off-by: Juha-Pekka Heikkila > --- > src/mesa/main/attrib.c | 320 > + > 1 file changed, 272 insertions(+), 48 deletions(-) > > diff --git a/src/mesa/main/attrib.c b/src/

[Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-09 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/attrib.c | 320 + 1 file changed, 272 insertions(+), 48 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 87797d1..3083e21 100644 --- a/src/mesa/main/attrib.c +++ b/

Re: [Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-03 Thread Juha-Pekka Heikkilä
On Tue, Dec 3, 2013 at 6:51 PM, Ian Romanick wrote: > On 12/02/2013 01:39 AM, Juha-Pekka Heikkila wrote: >> Check if any of the callocs fail and report it with _mesa_error >> if needed. >> >> Signed-off-by: Juha-Pekka Heikkila >> --- >> src/mesa/main/attrib.c | 106 >> ++

Re: [Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-03 Thread Ian Romanick
On 12/02/2013 01:39 AM, Juha-Pekka Heikkila wrote: > Check if any of the callocs fail and report it with _mesa_error > if needed. > > Signed-off-by: Juha-Pekka Heikkila > --- > src/mesa/main/attrib.c | 106 > - > 1 file changed, 104 insertions(+),

Re: [Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-03 Thread Brian Paul
On 12/02/2013 02:39 AM, Juha-Pekka Heikkila wrote: Check if any of the callocs fail and report it with _mesa_error if needed. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/attrib.c | 106 - 1 file changed, 104 insertions(+), 2 deletions(

[Mesa-dev] [PATCH 3/3] mesa: Verify memory allocations success in _mesa_PushAttrib

2013-12-02 Thread Juha-Pekka Heikkila
Check if any of the callocs fail and report it with _mesa_error if needed. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/attrib.c | 106 - 1 file changed, 104 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main