[PATCH] D71566: New checks for fortified sprintf

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 17 13:07:35 PST 2020


serge-sans-paille updated this revision to Diff 238868.
serge-sans-paille added a comment.

Update size computation + test case involving null byte inside the format string.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71566

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Sema/warn-fortify-source.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71566.238868.patch
Type: text/x-patch
Size: 13273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200117/7c67a1cd/attachment.bin>


More information about the cfe-commits mailing list