Date: Sat, 14 Sep 2002 22:47:58 -0500 From: "Jacques A. Vidrine" <nectar@FreeBSD.org> To: Martin Blapp <mb@imp.ch> Cc: netctar@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/net getaddrinfo.c gethostbydns.c getnetbydns.c name6.c res_query.c res_update.c Message-ID: <20020915034758.GB92777@madman.nectar.cc> In-Reply-To: <20020914184126.F3162-100000@levais.imp.ch> References: <20020914164057.GB92202@madman.nectar.cc> <20020914184126.F3162-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 14, 2002 at 06:43:40PM +0200, Martin Blapp wrote: > It's not you fault. Yes it is; I should have done some more testing. > Tim J. Robbins and I have reporduced it and he has > tracked it down to libc_r. > > Stack growing is broken in libc_r. Everything that tries to expand the > stack above 65536 is broken. Thanks for looking at it. Probably these buffers should be allocated on the heap. However, I was aiming to fix the problem with as little change to the code path as possible. Increasing the buffers on the stack seemed like the way to do this. Since that failed, I will instead add code to detect when enough space was not available and fail in those cases. > See testcase: > > http://people.freebsd.org/~tjr/stack.c > > Important ! This is in STABLE too. You mean the libc_r issue? I haven't mucked with the resolver in -STABLE. Cheers, -- Jacques A. Vidrine <nectar@celabo.org> http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915034758.GB92777>