clang: add a new warning for %n format specifier usage in printf(3) family functions
authorsemarie <semarie@openbsd.org>
Tue, 7 Sep 2021 17:39:49 +0000 (17:39 +0000)
committersemarie <semarie@openbsd.org>
Tue, 7 Sep 2021 17:39:49 +0000 (17:39 +0000)
commit74b3324938348b94d860c6202d22452d10aa628b
tree102b99b52b5ecc51e0a394bb6a095c5f02589fc9
parent56155c97046aef489ddfc4a3ab68372f61a36025
clang: add a new warning for %n format specifier usage in printf(3) family functions

ok deraadt@
different versions tested by jca@ naddy@ sthen@
gnu/llvm/clang/include/clang/Basic/DiagnosticSemaKinds.td
gnu/llvm/clang/lib/Sema/SemaChecking.cpp
share/man/man1/clang-local.1