Comment 18 for bug 618684

Revision history for this message
In , Loïc Minier (lool) wrote :

I'm not sure how the .i ends up with a zero-length array; resolv.h has:
# define MAXNS 3 /* max # name servers we'll track */
[...]
struct __res_state {
[...]
        struct sockaddr_in
                nsaddr_list[MAXNS]; /* address of name server */

so it should be [3], but it's [0] in the .i file attached here.