[PATCH] D158562: [clang][Sema] Add truncation warning on fortified snprintf

Takuya Shimizu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 13:52:45 PDT 2023


hazohelet updated this revision to Diff 553246.
hazohelet added a comment.

Fixes `EstimateSizeFormatHandler`'s `%g` handling.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158562/new/

https://reviews.llvm.org/D158562

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Analysis/taint-generic.c
  clang/test/Sema/format-strings.c
  clang/test/Sema/warn-fortify-source.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158562.553246.patch
Type: text/x-patch
Size: 14290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230824/f3f2e23d/attachment.bin>


More information about the cfe-commits mailing list