Skip to content

Commit 2d4da80

Browse files
authored
Merge pull request #21114 from hvitved/rust/exclude-result-err-taint-step
Rust: Add `Result::Err` to `excludeFieldTaintStep`
2 parents 7ed3d3f + 1e79213 commit 2d4da80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/ql/lib/codeql/rust/frameworks/stdlib/core.model.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,5 @@ extensions:
152152
extensible: excludeFieldTaintStep
153153
data:
154154
- ["core::ops::range::RangeInclusive::start"]
155-
- ["core::ops::range::RangeInclusive::end"]
155+
- ["core::ops::range::RangeInclusive::end"]
156+
- ["core::result::Result::Err(0)"]

0 commit comments

Comments
 (0)