Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
0beb148b
Commit
0beb148b
authored
Nov 23, 2014
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/closure.cc: Fix invalid read.
parent
ad3ea61a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tgbaalgos/closure.cc
View file @
0beb148b
...
...
@@ -71,9 +71,11 @@ namespace spot
}
if
(
need_new_trans
)
{
unsigned
i
=
a
->
new_transition
(
state
,
t2
.
dst
,
cond
,
acc
);
dst2trans
[
t2
.
dst
].
push_back
(
i
);
// Load t2.dst first, because t2 can be
// invalidated by new_transition().
auto
dst
=
t2
.
dst
;
auto
i
=
a
->
new_transition
(
state
,
dst
,
cond
,
acc
);
dst2trans
[
dst
].
push_back
(
i
);
todo
.
push_back
(
i
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment