Re: ftpd now cores

2000-02-01 Thread Yoshinobu Inoue
> In ftpd.c inithosts() there is a getaddrinfo() that can fail with TRY_AGAIN. > Afterwards there is an if that checks to see if res is a null pointer before > using it. > > A little later there is a freeaddrinfo(res) that will core in this case. I > changed the line toif (res) freeaddrinfo(

ftpd now cores

2000-02-01 Thread Mark Hittinger
In ftpd.c inithosts() there is a getaddrinfo() that can fail with TRY_AGAIN. Afterwards there is an if that checks to see if res is a null pointer before using it. A little later there is a freeaddrinfo(res) that will core in this case. I changed the line toif (res) freeaddrinfo(res) and a