Skip to content

Commit 5d6d314

Browse files
committed
Bugfix: when a non-last successor of instruction had a single
predecessor, then the move semantics destroyed the transformed state before processing the last successor.
1 parent 2c018c8 commit 5d6d314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/taint-analysis/taint_summary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ void taint_algorithm_computing_summary_of_functiont::
16531653

16541654
if(dst_has_unique_predecessor)
16551655
{
1656-
dst_value = std::move(*transformed);
1656+
dst_value = *transformed;
16571657
work_set.insert(dst_instr_it);
16581658
}
16591659
else

0 commit comments

Comments
 (0)