Re: Valgrind error patch in gr_RenderInfo.cpp

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Tue Aug 17 2004 - 08:46:06 CEST

Hi Hub,

if you have not yet, please commit this.

Tomas

> 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.
>
> Thanks.
>
> Hub
> --
> Crazy French - http://www.figuiere.net/hub/
>
Received on Tue Aug 17 08:32:25 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 17 2004 - 08:32:25 CEST