[Nasal-cvs] code.c
Andy Ross
andy at plausible.org
Mon Oct 9 07:25:20 PDT 2006
Update of /home/nasal-cvs/nasal/src
In directory purr:/tmp/cvs-serv1989
Modified Files:
code.c
Log Message:
The setjmp call needs to be moved ahead of the call to naCFunctions.
Those can throw errors too. (This bug was weird: in many cases, the
jmp_buf would be pseudo-valid, having registers from a *previous*
usage of the naContext object. Jonatan caught it in a deep-call
situation where it was forced to use a brand new, invalid jmp_buf and
corrupted the stack.)
More information about the nasal-cvs
mailing list