graph: fix creation of universal edge
* spot/graph/graph.hh: Use a temporary array to store the destination vector if the passed range belong to the dests_ vector. Otherwise the passed begin/end risk being invalidated when dests_ is reallocated. * NEWS: Mention the bug.
This commit is contained in:
parent
288b1c7958
commit
166a26417c
2 changed files with 24 additions and 2 deletions
7
NEWS
7
NEWS
|
|
@ -113,6 +113,13 @@ New in spot 2.10.6.dev (not yet released)
|
|||
to obtain a simple model checker (that returns true or false,
|
||||
without counterexample).
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- calling twa_graph::new_univ_edge(src, begin, end, cond, acc) could
|
||||
produce unexpected result if begin and end where already pointing
|
||||
into the universal edge vector, since the later can be
|
||||
reallocated during that process.
|
||||
|
||||
New in spot 2.10.6 (2022-05-18)
|
||||
|
||||
Bugs fixed:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue