[PATCH] D45050: [clang-tidy] New checker for not null-terminated result caused by strlen or wcslen

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 30 09:35:56 PDT 2018


lebedev.ri added a comment.

I would like to see more negative tests.
What does it do if the len/size is a constant?
Variable that wasn't just assigned with `strlen()` return?


https://reviews.llvm.org/D45050





More information about the cfe-commits mailing list