segfault, if trying to switch to illegal context *twice*

Started by hartrock, January 08, 2016, 04:57:31 PM

Previous topic - Next topic

hartrock


sr@freen:~$ newlisp
newLISP v.10.6.5 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

> (set 's (sym "Foo bar" MAIN))
Foo bar
> (context s)

ERR: invalid parameter in function context : "Foo bar"
> (context s)
Segmentation fault

Lutz

Thanks Hartrock, the contents of the symbol was left un-initialized on error, now fixed:



http://www.newlisp.org/downloads/development/inprogress/">http://www.newlisp.org/downloads/develo ... nprogress/">http://www.newlisp.org/downloads/development/inprogress/