Skip to content

Commit df7bdcd

Browse files
committed
spelling: determined
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent ff6ce9c commit df7bdcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/commons/Printf.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class AttributeFormattingFunction extends FormattingFunction {
141141
* - `""` is a `vprintf` variant, `outputParamIndex` is `-1`.
142142
* - `"f"` is a `vfprintf` variant, `outputParamIndex` indicates the output stream parameter.
143143
* - `"s"` is a `vsprintf` variant, `outputParamIndex` indicates the output buffer parameter.
144-
* - `"?"` if the type cannot be deteremined. `outputParamIndex` is `-1`.
144+
* - `"?"` if the type cannot be determined. `outputParamIndex` is `-1`.
145145
*/
146146
predicate primitiveVariadicFormatter(
147147
TopLevelFunction f, string type, int formatParamIndex, int outputParamIndex
@@ -198,7 +198,7 @@ private predicate callsVariadicFormatter(
198198
* - `""` is a `vprintf` variant, `outputParamIndex` is `-1`.
199199
* - `"f"` is a `vfprintf` variant, `outputParamIndex` indicates the output stream parameter.
200200
* - `"s"` is a `vsprintf` variant, `outputParamIndex` indicates the output buffer parameter.
201-
* - `"?"` if the type cannot be deteremined. `outputParamIndex` is `-1`.
201+
* - `"?"` if the type cannot be determined. `outputParamIndex` is `-1`.
202202
*/
203203
predicate variadicFormatter(Function f, string type, int formatParamIndex, int outputParamIndex) {
204204
primitiveVariadicFormatter(f, type, formatParamIndex, outputParamIndex)

0 commit comments

Comments
 (0)