[llvm-bugs] [Bug 30346] REGRESSION: clang-3.8+ do not work well with _FORTIFY_SOURCE and struct sockaddr with addresses > 14 bytes (__builtin_object_size doesn't grok SOCK_MAXADDRLEN extension)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 12 16:59:17 PDT 2016


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

George Burgess <george.burgess.iv at gmail.com> changed:

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

--- Comment #13 from George Burgess <george.burgess.iv at gmail.com> ---
Huh, I wasn't aware that this pattern was so common. In that case, fixed as
r281277.

Requiring a hand-maintained whitelist of structs for this one corner-case seems
like a bit much to me, so we're now always conservative when we have an array
at the end of a thing with unknown size. If anyone disagrees, I'm happy to
reconsider.

Thanks again,
George

-- 
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/20160912/de6f6a8b/attachment.html>


More information about the llvm-bugs mailing list