Skip to content

Commit a4fd70a

Browse files
author
edvraa
committed
Use don't care expression
1 parent 1308070 commit a4fd70a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

csharp/ql/src/Security Features/CWE-502/UnsafeDeserialization.ql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ where
1919
(
2020
sink instanceof InstanceMethodSink and
2121
not exists(
22-
SafeConstructorTrackingConfig safeConstructorTracking, DataFlow::PathNode safeCreation,
23-
DataFlow::PathNode safeTypeUsage
22+
SafeConstructorTrackingConfig safeConstructorTracking, DataFlow::PathNode safeTypeUsage
2423
|
25-
safeConstructorTracking.hasFlowPath(safeCreation, safeTypeUsage) and
24+
safeConstructorTracking.hasFlowPath(_, safeTypeUsage) and
2625
safeTypeUsage.getNode().asExpr().getParent() = deserializeCall
2726
)
2827
or

0 commit comments

Comments
 (0)