Re: [AD] SF.net SVN: alleg:[11645] allegro/branches/4.9/examples/ex_utf8.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, 2009-02-23 at 00:21 +1100, Peter Wang wrote:
> > 
> > Oh well, seems to be one of "those" bugs. I was unable to figure out the
> > cause of the crash, but I found if I set the size parameter of
> > _al_bvcformata to at least 32, the crashes stop. Looks like the actual
> > bug is in bstrlib. Or maybe I have a broken libc here? I committed the
> > work-around of setting the size to 32 for now, and also fixed a
> > constness warning.
> 
> Can you check what the value of `r' is on about line 2947 of bstrlib.c,
> i.e. the return value of vsnprintf?
> 

It's 12 at the time of the crash.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/