Skip to content

Commit 733fc16

Browse files
committed
Java: Update ThreadResourceAbuse specific models with provenance information.
1 parent 0d43216 commit 733fc16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/experimental/Security/CWE/CWE-400/ThreadResourceAbuse.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ private class PauseThreadDataModel extends SinkModelCsv {
2121
override predicate row(string row) {
2222
row =
2323
[
24-
"java.lang;Thread;true;sleep;;;Argument[0];thread-pause",
25-
"java.util.concurrent;TimeUnit;true;sleep;;;Argument[0];thread-pause"
24+
"java.lang;Thread;true;sleep;;;Argument[0];thread-pause;manual",
25+
"java.util.concurrent;TimeUnit;true;sleep;;;Argument[0];thread-pause;manual"
2626
]
2727
}
2828
}

0 commit comments

Comments
 (0)