File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/ql/src/queries/security/cwe-116 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ predicate allBackslashesEscaped(DataFlow::Node node) {
104
104
allBackslashesEscaped ( node .getAPredecessor ( ) )
105
105
or
106
106
// general data flow from a (destructive) [g]sub!
107
- exists ( DataFlowPrivate :: PostUpdateNode post , StringSubstitutionCall sub |
107
+ exists ( DataFlow :: PostUpdateNode post , StringSubstitutionCall sub |
108
108
sub .isDestructive ( ) and
109
109
allBackslashesEscaped ( sub ) and
110
110
post .getPreUpdateNode ( ) = sub .getReceiver ( ) and
@@ -135,7 +135,7 @@ DataFlow::CallNode getAMethodCall(StringSubstitutionCall call) {
135
135
// for a destructive string substitution, is there flow from its
136
136
// post-update receiver to the receiver of another method call?
137
137
call .isDestructive ( ) and
138
- exists ( DataFlowPrivate :: PostUpdateNode post | post .getPreUpdateNode ( ) = call .getReceiver ( ) |
138
+ exists ( DataFlow :: PostUpdateNode post | post .getPreUpdateNode ( ) = call .getReceiver ( ) |
139
139
post .( DataFlow:: LocalSourceNode ) .flowsTo ( receiver )
140
140
)
141
141
)
You can’t perform that action at this time.
0 commit comments