Re: Valgrind error patch in gr_RenderInfo.cpp

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Mon Aug 16 2004 - 05:25:57 CEST

On Sun, 2004-08-15 at 12:37, Hubert Figuiere wrote:
> Hi,
>
> I'm posting this patch, so that people (mostly Tomas) review it because
> I'm not familiar with the inner guts of the code.
>
> Basically, the if() was reading outside the array bounds so I added a
> condition to prevent this and makes Valgrind happy (complaining about
> test depending on unitilized data).
>
> If you feel it is safe, either commit it or let me know.
>

Hi Hub,
       That patch looks right to me. I suggest you commit it if you
don't here from Tomas soon.

Cheers

Martin

> Thanks.
>
> Hub
Received on Mon Aug 16 04:28:49 2004

This archive was generated by hypermail 2.1.8 : Mon Aug 16 2004 - 04:28:49 CEST