[PATCH] D45177: CStringChecker, check strlcpy/strlcat

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 17 15:23:44 PDT 2018


alexfh added a comment.

In https://reviews.llvm.org/D45177#1103774, @devnexen wrote:

> In https://reviews.llvm.org/D45177#1103162, @alexfh wrote:
>
> > See https://bugs.llvm.org/show_bug.cgi?id=37503 for a test case.
>
>
> I was unable to reproduce both FreeBSD and Linux. Plus my changes come after checkNonNull.


I'm not 100% sure this was caused by your patch, but the stack trace looks suspiciously similar to what was changed here. As for not being able to reproduce: do you build Clang with assertions enabled?


Repository:
  rC Clang

https://reviews.llvm.org/D45177





More information about the cfe-commits mailing list