mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Java: Fixup test
This commit is contained in:
@@ -59,7 +59,7 @@ class Test {
|
||||
}
|
||||
|
||||
public void M5(Statement handle) throws Exception {
|
||||
// Only a source if "commandargs" is a selected threat model.
|
||||
// Only a source if "stdin" is a selected threat model.
|
||||
byte[] data = new byte[1024];
|
||||
System.in.read(data);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ extensions:
|
||||
extensible: threatModelConfiguration
|
||||
data:
|
||||
- ["environment", true, 0]
|
||||
- ["commandargs", true, 0]
|
||||
- ["stdin", true, 0]
|
||||
|
||||
- addsTo:
|
||||
pack: codeql/java-all
|
||||
|
||||
Reference in New Issue
Block a user