We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbac74 commit 9cde13bCopy full SHA for 9cde13b
java/ql/test/library-tests/frameworks/apache-commons-lang3/MutableTest.java
@@ -21,8 +21,10 @@ void test() throws Exception {
21
sink(taintedAlias.getValue()); // $hasValueFlow
22
sink(taintSet.getValue()); // $hasValueFlow
23
sink(taintSetAlias.getValue()); // $hasValueFlow
24
- sink(taintCleared.getValue());
25
- sink(taintClearedAlias.getValue());
+ // These two cases don't work currently because synthetic fields are always weakly updated,
+ // so no taint clearing takes place.
26
+ sink(taintCleared.getValue()); // $SPURIOUS: hasValueFlow
27
+ sink(taintClearedAlias.getValue()); // $SPURIOUS: hasValueFlow
28
29
}
30
0 commit comments