Skip to content

Commit

Permalink
Merge pull request #16528 from geoffw0/docfix2
Browse files Browse the repository at this point in the history
C++: Update an instance of the name 'Semmle' in a doc page.
  • Loading branch information
geoffw0 authored May 20, 2024
2 parents c483a4b + 0ba3cd9 commit 13a7d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ in the previous example, one solution is to make the log message a trailing argu
<p>An alternative solution is to allow <code>log_with_timestamp</code> to accept format arguments:</p>
<sample src="NonConstantFormat-2-good.c" />
<p>In this formulation, the non-constant format string to <code>printf</code> has been replaced with
a non-constant format string to <code>vprintf</code>. Semmle will no longer consider the body of
a non-constant format string to <code>vprintf</code>. The analysis will no longer consider the body of
<code>log_with_timestamp</code> to be a problem, and will instead check that every call to
<code>log_with_timestamp</code> passes a constant format string.</p>

Expand Down

0 comments on commit 13a7d9a

Please sign in to comment.