Skip to content

Commit 23bf847

Browse files
committed
Removed .md and made class change
1 parent 8c9ccab commit 23bf847

File tree

4 files changed

+2
-66
lines changed

4 files changed

+2
-66
lines changed

java/ql/src/experimental/Security/CWE/CWE-078/CommandInjectionRuntimeExec.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

java/ql/src/experimental/Security/CWE/CWE-078/CommandInjectionRuntimeExec.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
import DataFlow::PathGraph
1515
import CommandInjectionRuntimeExec
1616

17-
class RemoteSource extends Source {
18-
RemoteSource() { this instanceof RemoteFlowSource }
19-
}
17+
class RemoteSource extends Source instanceof RemoteFlowSource {}
2018

2119
from
2220
DataFlow::PathNode source, DataFlow::PathNode sink, ExecTaintConfiguration2 conf,

java/ql/src/experimental/Security/CWE/CWE-078/CommandInjectionRuntimeExecLocal.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

java/ql/src/experimental/Security/CWE/CWE-078/CommandInjectionRuntimeExecLocal.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
import DataFlow::PathGraph
1616
import CommandInjectionRuntimeExec
1717

18-
class LocalSource extends Source {
19-
LocalSource() { this instanceof LocalUserInput }
20-
}
18+
class LocalSource extends Source instanceof LocalUserInput {}
2119

2220
from
2321
DataFlow::PathNode source, DataFlow::PathNode sink, ExecTaintConfiguration2 conf,

0 commit comments

Comments
 (0)