[PATCH] D45177: CStringChecker, check strlcpy/strlcat

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 01:32:19 PDT 2018


devnexen added a comment.

In https://reviews.llvm.org/D45177#1103781, @alexfh wrote:

> 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?


I was able to reproduce but also with the revision before when it has been reverted.


Repository:
  rC Clang

https://reviews.llvm.org/D45177





More information about the cfe-commits mailing list