Skip to content

Commit d1fecd8

Browse files
committed
C++: Make StringCchPrintf not extend NonThrowingFunction
1 parent d6049cd commit d1fecd8

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Printf.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private class SnprintfImpl extends Snprintf, AliasFunction, SideEffectFunction,
173173
* and
174174
* https://learn.microsoft.com/en-us/previous-versions/windows/embedded/ms860435(v=msdn.10)
175175
*/
176-
private class StringCchPrintf extends FormattingFunction, NonThrowingFunction {
176+
private class StringCchPrintf extends FormattingFunction {
177177
StringCchPrintf() {
178178
this instanceof TopLevelFunction and
179179
exists(string baseName |

0 commit comments

Comments
 (0)