[LLVMbugs] [Bug 20473] AddressSanitizer reports false positive global-buffer-overflow.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 28 07:30:42 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20473

Kostya Serebryany <kcc at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Kostya Serebryany <kcc at google.com> ---
Isn't this an actual bug in the code that asan correctly reports? 

You are initializing a char array of 3 elements with "",
which is a char array with 2 elements.
(Please reopen the bug if you disagree)

-- 
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/20140728/7c7c08f1/attachment.html>


More information about the llvm-bugs mailing list