Skip to content

Commit 3be7c20

Browse files
committed
C#: Disable field-flow for ZipSlip.ql
1 parent 9c9b7ac commit 3be7c20

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • csharp/ql/src/semmle/code/csharp/security/dataflow

csharp/ql/src/semmle/code/csharp/security/dataflow/ZipSlip.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ module ZipSlip {
4040
override predicate isSanitizerGuard(DataFlow::BarrierGuard guard) {
4141
guard instanceof SanitizerGuard
4242
}
43+
44+
override int fieldFlowBranchLimit() { result = 0 }
4345
}
4446

4547
/** An access to the `FullName` property of a `ZipArchiveEntry`. */

0 commit comments

Comments
 (0)