`sysdeps/posix/getaddrinfo.c' contains the following code:
2033 /* Read the config file. */
2034 __libc_once_define (static, once);
2035 __typeof (once) old_once = once;
2036 __libc_once (once, gaiconf_init);
2037 if (old_once && gaiconf_reload_flag)
2038 gaiconf_reload ();
In the `if' statement it is assumed that `old_once' is a scalar value, which
need not be, and that it is zero-initialized by default, which need not be
either, although unlikely.
I will attach a patch with a proposal to fix this issue.
Created attachment 1465 [details]
old_once is scalar and is zero initialized. Who do you think you are to decide
that this is not the case?