File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/experimental/query-tests/Security/CWE-074-SecondaryServerCmdInjection Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ class FabricConnection extends FindSubclassesSpec {
328328 FabricConnection ( ) { this = "fabric.connection.Connection~Subclass" }
329329
330330 override API:: Node getAlreadyModeledClass ( ) {
331- result = any ( FabricV2:: Fabric:: Connection:: ConnectionClass:: Instance i )
331+ result instanceof FabricV2:: Fabric:: Connection:: ConnectionClass:: Instance
332332 }
333333}
334334
Original file line number Diff line number Diff line change 11import python
2- import experimental .dataflow.TestUtil .DataflowQueryTest
2+ import TestUtilities .dataflow.DataflowQueryTest
33import experimental.semmle.python.security.SecondaryServerCmdInjection
44import FromTaintTrackingConfig< SecondaryCommandInjectionConfig >
You can’t perform that action at this time.
0 commit comments