diff options
| author | Florian Weimer <fweimer@redhat.com> | 2019-11-03 11:20:23 +0100 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2019-11-03 18:10:11 +0100 |
| commit | 6a771621414cc85f218d6b13c204552afd0294c3 (patch) | |
| tree | 4f4c474061fab60c95865fce644b44e7d48ba93b /malloc/alloc_buffer_alloc_array.c | |
| parent | b1c595cec06fabf65249a907db7d91e709ba6fd9 (diff) | |
| download | glibc-6a771621414cc85f218d6b13c204552afd0294c3.tar.xz glibc-6a771621414cc85f218d6b13c204552afd0294c3.zip | |
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
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
