This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [review] Avoid zero-length array at the end of struct link_map [BZ #25097]
On 11/3/19 10:11 AM, Florian Weimer (Code Review) wrote:
> Change URL: https://gnutoolchain-gerrit.osci.io/r/c/glibc/+/488
> ......................................................................
>
> 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.
[ ... ]
Just wanted to say thanks for taking care of this over the weekend.
Every one of my -gnu targets started failing yesterday/today because of
these issues.
jeff