[PATCH] D45177: CStringChecker, check strlcpy/strlcat

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 2 12:26:46 PDT 2018


devnexen created this revision.
devnexen added reviewers: george.karpenkov, NoQ.
Herald added a subscriber: cfe-commits.

strlcpy/strlcat are bounded but unlike their strn* counterparts, they can overlap.


Repository:
  rC Clang

https://reviews.llvm.org/D45177

Files:
  lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  test/Analysis/bsd-string.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45177.140667.patch
Type: text/x-patch
Size: 5067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180402/5571285d/attachment.bin>


More information about the cfe-commits mailing list