[Bf-committers] "off by one" error in renderdatabase.c?

Ton Roosendaal ton at blender.org
Fri Mar 4 23:16:15 CET 2005


Hi,

Ah, right! I was staring at the code you gave in your mail, but the  
actual issue was in the freeing code...

When you said;

>> I conclude that these arrays are supposed to be terminated by
>> an element which is a null pointer.

I read it as "was intented to". But you mean: these arrays *should* be  
terminated with a NULL to make the free() work. :)

No relation to 64 bits whatsoever. Just bug, will commit it. With  
comments why...

Thanks!

-Ton-

------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list