pullup from BIND8:

1207.   [bug]           libbind: getaddrinfo() could call freeaddrinfo() with
                        an invalid pointer.
This commit is contained in:
Mark Andrews 2002-02-19 03:45:07 +00:00
parent 966cd6ced9
commit 986be654fe
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
1207. [bug] libbind: getaddrinfo() could call freeaddrinfo() with
an invalid pointer.
1206. [bug] SERVFAIL and NOTIMP responses to a EDNS should trigger
a non-EDNS retry.

View file

@ -320,7 +320,7 @@ getaddrinfo(hostname, servname, hints, res)
struct addrinfo sentinel;
struct addrinfo *cur;
int error = 0;
struct addrinfo ai, ai0, *afai;
struct addrinfo ai, ai0, *afai = NULL;
struct addrinfo *pai;
const struct explore *ex;