[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BSD freeadrinfo() implementation Was: smtp TA's SIGSEGV in getmxrr()



On Thu, Nov 16, 2000 at 09:47:00PM +0300, Andrew P. Kokarev wrote:
> That one is from FreeBSD 4.2-BETA. Probably standard KAME code.
> You see, canonname is in separate chunk.

	Indeed.  glibc has them in same chunk, which did lead to
	different treatment of things -> strange heap corruption.

	There exists configuration option:
		--with-ipv6-replacement-libc

	That is *principally* for cases where system libc implementation
	of getaddrinfo() leaves something to desire -- glibc 2.2 might
	not need it, but anything before it likely needs it.
	( There are questionable error processings in the resolver code
	  in the glibc 2.1 )
	BSD might not need it - but might also tolerate its use.

-- 
/Matti Aarnio	<mea@nic.funet.fi>