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

Martin Dickopp martin at zero-based.org
Fri Mar 4 23:41:32 CET 2005


Ton Roosendaal <ton at blender.org> writes:

> 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. :)

Yes, that's what I meant. :)  Sorry for not having been clear enough
in the first place.

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

Thanks!

Martin


More information about the Bf-committers mailing list