This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/25097] new -Warray-bounds with GCC 10
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 15 Nov 2019 12:24:32 +0000
- Subject: [Bug build/25097] new -Warray-bounds with GCC 10
- Auto-submitted: auto-generated
- References: <bug-25097-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=25097
--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e21a7867713c87d0b0698254685d414d811d72b2
commit e21a7867713c87d0b0698254685d414d811d72b2
Author: Florian Weimer <fweimer@redhat.com>
Date: Sun Nov 3 11:20:23 2019 +0100
Avoid zero-length array at the end of struct link_map [BZ #25097]
l_audit ends up as an internal array with _rtld_global, and GCC 10
warns about this.
This commit does not change the layout of _rtld_global, so it is
suitable for backporting. Future changes could allocate more of the
audit state dynamically and remove it from always-allocated data
structures, to optimize the common case of inactive auditing.
Change-Id: Ic911100730f9124d4ea977ead8e13cee64b84d45
--
You are receiving this mail because:
You are on the CC list for the bug.