Skip to content

Commit c8c789d

Browse files
committed
fixes #767. The comment in the code was right, but the implementation beneath the comment was wrong
1 parent ecc5978 commit c8c789d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soot-infoflow/src/soot/jimple/infoflow/problems/rules/forward/StrongUpdatePropagationRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public Collection<Abstraction> propagateNormalFlow(Abstraction d1, Abstraction s
8383
// x = y && x.f tainted -> no taint propagated. This must only check the precise
8484
// variable which gets replaced, but not any potential strong aliases
8585
else if (lhs instanceof Local) {
86-
if (aliasing.mustAlias((Local) lhs, source.getAccessPath().getPlainValue(), stmt)) {
86+
if (lhs == source.getAccessPath().getPlainValue()) {
8787
killAll.value = true;
8888
return null;
8989
}

0 commit comments

Comments
 (0)