Skip to content

Commit b854a21

Browse files
Fix use of sinkModel
1 parent b08f22c commit b854a21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/ql/lib/semmle/code/java/regex/RegexFlowConfigs.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/
44

55
import java
6+
import semmle.code.java.dataflow.ExternalFlow
67
private import semmle.code.java.dataflow.DataFlow
78
private import semmle.code.java.dataflow.DataFlow2
89
private import RegexFlowModels
@@ -19,7 +20,7 @@ private class ExploitableStringLiteral extends StringLiteral {
1920
* where -1 is the qualifier; or -2 if no such argument exists.
2021
*/
2122
private predicate regexSinkKindInfo(string kind, boolean full, int strArg) {
22-
sinkModel(_, _, _, _, _, _, _, kind) and
23+
sinkModel(_, _, _, _, _, _, _, kind, _) and
2324
exists(string fullStr, string strArgStr |
2425
(
2526
full = true and fullStr = "f"

0 commit comments

Comments
 (0)