File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/frameworks/apache Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ private class ApacheStrBuilderTaintingMethod extends ApacheStrBuilderMethod, Tai
144144 }
145145
146146 private predicate consumesTaintFromAllArgs ( ) {
147- // Specifically the append[ln](String, Object...) overloads also consume taint from its other arguments:
147+ // Specifically the append[ln](String, Object...) overloads also consume taint from their other arguments:
148148 this .getName ( ) in [ "appendAll" , "appendWithSeparators" ]
149149 or
150150 this .getName ( ) = [ "append" , "appendln" ] and this .getAParameter ( ) .isVarargs ( )
@@ -167,7 +167,7 @@ private class ApacheStrBuilderTaintingMethod extends ApacheStrBuilderMethod, Tai
167167 else fromArg = 1
168168 )
169169 or
170- consumesTaintFromAllArgs ( ) and fromArg in [ 0 .. this .getNumberOfParameters ( ) - 1 ]
170+ this . consumesTaintFromAllArgs ( ) and fromArg in [ 0 .. this .getNumberOfParameters ( ) - 1 ]
171171 )
172172 }
173173}
You can’t perform that action at this time.
0 commit comments