[Verse-dev] Weird address size bug

Emil Brink emil at obsession.se
Fri Jul 21 08:13:49 CEST 2006


eskil at obsession.se wrote:
> Hi
> 
>> void v_cmd_buf_set_size(VCMDBufHead *head, unsigned int size)
>> {
>>     if(head->address_size > size);
>>         head->address_size = size;
>>     head->size = size;
>> }
> 
> I'm amazed it works. From my understanding this should break all kinds 
> of things that I know isn't broken... Ill look in to it.

Yes, it looks rather fundamentally broken. Looking forward to hearing
about how to fix it, I don't think we should go ahead and release with-
out this being resolved. It's scary.

Regards,

/Emil



More information about the Verse-dev mailing list