Skip to content

Commit 691281a

Browse files
authored
Rust: mark one value flow as spurious (should be taint)
1 parent 2bf5a70 commit 691281a

File tree

1 file changed

+1
-1
lines changed
  • rust/ql/test/library-tests/dataflow/strings

1 file changed

+1
-1
lines changed

rust/ql/test/library-tests/dataflow/strings/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn string_add() {
3535
let s4 = s1 + s3;
3636
let s5 = s2 + s3;
3737

38-
sink(s4); // $ hasValueFlow=83
38+
sink(s4); // $ SPURIOUS: hasValueFlow=83 MISSING: hasTaintFlow=83
3939
sink(s5);
4040
}
4141

0 commit comments

Comments
 (0)