================ @@ -163,6 +163,10 @@ Improvements to Clang's diagnostics - Clang's ``-Wfortify-source`` now diagnoses ``snprintf`` call that is known to result in string truncation. (`#64871: <https://github.com/llvm/llvm-project/issues/64871>`_). + Clang stops calculating the minimum length of the output format string upon %p + if the succeeding character can be a part of the format specifier in linux's + format extension in order to avoid false positive warnings against the linux + code base. ---------------- nickdesaulniers wrote:
perhaps worth referring to "the Linux kernel's ..." rather than just "linux". https://github.com/llvm/llvm-project/pull/65969 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits