powerset: fix segfault when the initial state is a sink

Reported by Raven Beutner.

* spot/twaalgos/minimize.cc: Improve comment.
* spot/twaalgos/powerset.cc: Fix handling of an initial state that
is also a sink.
* tests/core/wdba2.test: Add test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2023-04-18 15:04:58 +02:00
parent eb0f40b9d6
commit eb80f5d5af
4 changed files with 55 additions and 17 deletions

3
NEWS
View file

@ -13,6 +13,9 @@ New in spot 2.11.4.dev (not yet released)
verbatim. We also changed the behavior of as_twa() to not merge
identical states.
- Fix segfaults occuring in determinization of 1-state terminal
automata.
New in spot 2.11.4 (2023-02-10)
Python: