more segfaults (sqlite this time)

Jan-Henrik Haukeland hauk at tildeslash.com
Sun Apr 6 00:59:45 CEST 2008


On 5. april. 2008, at 23.00, Paul J Stevens wrote:
> Alas,
>
> I think the va_copy trick is spot on, but it should also be applied in
> SQLiteConnection_execute and friends, if I read stdarg(3) correctly.

Lets hope so, and certainly, va_copy is now used all over the place  
where applicable. I'll hold on with a new bug release for a while, to  
see if you will dig up more stuff :) As a side note, it is system  
dependent if it is necessary to do a va_copy when passing a va_list  
down the call stack. On OSX is probably not necessary since I've not  
had any problems. Though using va_copy should of course be done anyway.



More information about the libzdb-general mailing list