File tree 2 files changed +2
-2
lines changed
cpp/ql/lib/semmle/code/cpp
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class AnalyzedString extends Expr {
44
44
* can be calculated.
45
45
*/
46
46
int getMaxLength ( ) {
47
- // take the longest AnalysedString it's value could 'flow' from; however if even one doesn't
47
+ // take the longest AnalyzedString its value could 'flow' from; however if even one doesn't
48
48
// return a value (this essentially means 'infinity') we can't return a value either.
49
49
result =
50
50
max ( AnalyzedString expr , int toMax |
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ class StrCatBW extends BufferWriteCall {
201
201
// when result exists, it is an exact flow analysis
202
202
reason instanceof ValueFlowAnalysis and
203
203
result =
204
- this .getArgument ( this .getParamSrc ( ) ) .( AnalysedString ) .getMaxLength ( ) * this .getCharSize ( )
204
+ this .getArgument ( this .getParamSrc ( ) ) .( AnalyzedString ) .getMaxLength ( ) * this .getCharSize ( )
205
205
}
206
206
207
207
override int getMaxData ( BufferWriteEstimationReason reason ) {
You can’t perform that action at this time.
0 commit comments