Radovan =?utf-8?q?Božić?= <[email protected]> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================ @@ -1002,6 +1002,11 @@ def warn_fortify_scanf_overflow : Warning< "%2, but the corresponding specifier may require size %3">, InGroup<FortifySource>; +def warn_fortify_source_overread : Warning< + "'%0' will always read past the source buffer; source buffer has " + "size %1, but size argument is %2">, ---------------- venk-ks wrote: Nit: Since %2 is sometimes computed as a product (rather than an explicit size argument), it might be slightly better to drop the word "argument" (i.e., say something like "... %1, but the size is %2"). https://github.com/llvm/llvm-project/pull/204337 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
