From: Matthias A. <mat...@gm...> - 2006-03-21 23:47:42
|
Voldemar <de...@it...> writes: [crash with fetchmail 6.3.2 on FreeBSD 4.11-RELEASE i386] > $ cat .fetchmailrc > poll inet.tsu.ru [...] > poll pop3.mail.ru [...] > poll 212.192.112.206 [...] > It seems to me, the function getaddrinfo returns 0 (no error), > but thus res->ai_canonname == 0, that leads SIGSERV at attempt > strcpy(0) in xmalloc.c:xstrdup. Upon closer inspection in the FreeBSD sources found at <http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/net/getaddrinfo.c>, I think it's the numeric hostname that caused the problem. That particular issue was fixed in FreeBSD 5.4/6/7, with MFC getaddrinfo.c version 1.55 (January 2005). I am requesting a backport for 4.10, 4.11, 4-STABLE and 5.3 from the FreeBSD security officer. -- Matthias Andree |