[llvm-bugs] [Bug 31834] Broken check name for strncpy check

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 19 00:33:22 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=31834

Volker Reichelt <v.reichelt at netcologne.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #9 from Volker Reichelt <v.reichelt at netcologne.de> ---
This bug has been fixed on trunk a while ago. I now get:

bug.cc:7:3: warning: Size argument is greater than the length of the
destination buffer [clang-analyzer-cplusplus.NewDeleteLeaks]
  strncpy(x, p, 2);
  ^
bug.cc:7:3: note: Size argument is greater than the length of the destination
buffer

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180619/68d302c8/attachment.html>


More information about the llvm-bugs mailing list