Skip to content

Commit d678276

Browse files
committed
Fix typos
1 parent 689c28a commit d678276

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/Security/CWE/CWE-502/UnsafeDeserialization.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class UnsafeDeserializationConfig extends TaintTracking::Configuration {
2222

2323
override predicate isSink(DataFlow::Node sink) { sink instanceof UnsafeDeserializationSink }
2424

25-
override predicate isAdditionalTaintStep(DataFlow::Node prod, DataFlow::Node succ) {
25+
override predicate isAdditionalTaintStep(DataFlow::Node pred, DataFlow::Node succ) {
2626
exists(ClassInstanceExpr cie |
27-
cie.getArgument(0) = prod.asExpr() and
27+
cie.getArgument(0) = pred.asExpr() and
2828
cie = succ.asExpr() and
2929
(
3030
cie.getConstructor().getDeclaringType() instanceof JsonIoJsonReader or
@@ -36,7 +36,7 @@ class UnsafeDeserializationConfig extends TaintTracking::Configuration {
3636
or
3737
exists(MethodAccess ma |
3838
ma.getMethod() instanceof BurlapInputInitMethod and
39-
ma.getArgument(0) = prod.asExpr() and
39+
ma.getArgument(0) = pred.asExpr() and
4040
ma.getQualifier() = succ.asExpr()
4141
)
4242
}

0 commit comments

Comments
 (0)