mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Rust: mark one value flow as spurious (should be taint)
This commit is contained in:
@@ -35,7 +35,7 @@ fn string_add() {
|
||||
let s4 = s1 + s3;
|
||||
let s5 = s2 + s3;
|
||||
|
||||
sink(s4); // $ hasValueFlow=83
|
||||
sink(s4); // $ SPURIOUS: hasValueFlow=83 MISSING: hasTaintFlow=83
|
||||
sink(s5);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user