================ @@ -202,6 +202,12 @@ New checks Detects default initialization (to 0) of variables with ``enum`` type where the enum has no enumerator with value of 0. +- New :doc:`bugprone-unsafe-format-string + <clang-tidy/checks/bugprone/unsafe-format-string>` check. + + Detects usage of vulnerable printf and scanf-like format + string functions with unbounded ``%s`` specifiers that can cause buffer overflows. ---------------- EugeneZelenko wrote:
```suggestion Detects usage of vulnerable ``printf`` and ``scanf``-like format string functions with unbounded ``%s`` specifiers that can cause buffer overflows. ``` https://github.com/llvm/llvm-project/pull/168691 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
