Skip to content

Commit 8bc8832

Browse files
committed
Minor improvement to jsoniter test
1 parent a9bf17e commit 8bc8832

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • go/ql/test/library-tests/semmle/go/frameworks/Encoding

go/ql/test/library-tests/semmle/go/frameworks/Encoding/jsoniter.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class UntrustedFunction extends Function {
99
}
1010

1111
class RemoteSource extends DataFlow::Node, RemoteFlowSource::Range {
12-
RemoteSource() { this = any(UntrustedFunction f).getACall() }
12+
RemoteSource() { this = any(UntrustedFunction f).getACall().getResult() }
1313
}
1414

1515
from CommandInjection::Flow::PathNode source, CommandInjection::Flow::PathNode sink

0 commit comments

Comments
 (0)