Skip to content

Commit 36b1c74

Browse files
committed
fix(go): RemoteFlowSource
1 parent 6b5094f commit 36b1c74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/lib/ghsl/LocalSources.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module LocalSources {
1717
class MaDLocalSource extends Range {
1818
MaDLocalSource() { ExternalFlow::sourceNode(this, "local") }
1919
}
20-
20+
2121
class OsCmd extends LocalSources::Range {
2222
OsCmd() {
2323
exists(ValueEntity read, DataFlow::Package pkg |

go/test/lib/localsources/local.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import go
22
import ghsl.Utils
33
import ghsl.LocalSources
44

5-
query predicate remoteSources(DataFlow::ExprNode node) { node instanceof UntrustedFlowSource }
5+
query predicate remoteSources(DataFlow::ExprNode node) { node instanceof RemoteFlowSource::Range }
66

77
query predicate localSources(DataFlow::ExprNode node) { node instanceof LocalSources::Range }

0 commit comments

Comments
 (0)