otf_product: fix deletion of iter_cache_

Fixes #152, reported by Valentin Iovene.

* spot/twa/twaproduct.cc (~twa_product): Delete iter_cache_.
* tests/python/otfcrash.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-16 17:22:36 +01:00
parent e86370f894
commit 3a3913cf50
4 changed files with 46 additions and 0 deletions

2
NEWS
View file

@ -132,6 +132,8 @@ New in spot 1.99.7a (not yet released)
* ltlfilt, autfilt, randltl, and randaut could easily crash when
compiled statically (i.e., with configure --disable-shared).
* "1 U (a | Fb)" was not always simplified to "F(a | b)".
* destroying the operands of an otf_product() before the product
itself could crash.
New in spot 1.99.7 (2016-01-15)