Fix a segfault in the CGI script, reported by Denis.

* src/tgbaalgos/emptiness.cc
(emptiness_check_instantiator::construct): Set *err = 0
on success.  This avoids problem with the python bindings
always converting *err to a string and sometimes failing
to do so when err was not initialized.
This commit is contained in:
Alexandre Duret-Lutz 2012-03-09 08:38:55 +01:00
parent 187997fe5d
commit a01034e5f9
2 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2012-03-09 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a segfault in the CGI script, reported by Denis.
* src/tgbaalgos/emptiness.cc
(emptiness_check_instantiator::construct): Set *err = 0
on success. This avoids problem with the python bindings
always converting *err to a string and sometimes failing
to do so when err was not initialized.
2012-03-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
ltl2tgba.html: Fix initialization of unset options on reload.