Skip to content
Commit fabf5e49 authored by Florian Weimer's avatar Florian Weimer
Browse files

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.
parent 2c75b545
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment