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) {
104104 allBackslashesEscaped ( node .getAPredecessor ( ) )
105105 or
106106 // general data flow from a (destructive) [g]sub!
107- exists ( DataFlowPrivate :: PostUpdateNode post , StringSubstitutionCall sub |
107+ exists ( DataFlow :: PostUpdateNode post , StringSubstitutionCall sub |
108108 sub .isDestructive ( ) and
109109 allBackslashesEscaped ( sub ) and
110110 post .getPreUpdateNode ( ) = sub .getReceiver ( ) and
@@ -135,7 +135,7 @@ DataFlow::CallNode getAMethodCall(StringSubstitutionCall call) {
135135 // for a destructive string substitution, is there flow from its
136136 // post-update receiver to the receiver of another method call?
137137 call .isDestructive ( ) and
138- exists ( DataFlowPrivate :: PostUpdateNode post | post .getPreUpdateNode ( ) = call .getReceiver ( ) |
138+ exists ( DataFlow :: PostUpdateNode post | post .getPreUpdateNode ( ) = call .getReceiver ( ) |
139139 post .( DataFlow:: LocalSourceNode ) .flowsTo ( receiver )
140140 )
141141 )
You can’t perform that action at this time.
0 commit comments