about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-06-19 10:13:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-06-19 10:13:50 +0200
commitfabf5e49ddd61312027de8e92cc1b8528c2a929d (patch)
tree9f37dc7b29751182fd7ba7d091e1909cad314ef1 /ChangeLog
parent2c75b545de6fe3c44138799c68217a94bc669a88 (diff)
downloadglibc-fabf5e49ddd61312027de8e92cc1b8528c2a929d.tar.gz
glibc-fabf5e49ddd61312027de8e92cc1b8528c2a929d.tar.xz
glibc-fabf5e49ddd61312027de8e92cc1b8528c2a929d.zip
dlfcn: Avoid one-element flexible array in Dl_serinfo [BZ #24166]
The dls_serpath path field, as an array of length 1, introduces
unexpected array subscript checks with some compilers.

GCC versions before 3.0 treat the nested anonymous union as a
declaration of an unnamed type, and not as a member declaration,
so this construct cannot be used for these compilers.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ac06595fb4..f32b734166 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-19  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #24166]
+	* dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
+	dls_serpath field.
+
 2019-06-18  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #24323]