Date: Sun, 15 Sep 2002 13:56:42 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> 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: <20020915135437.K3162-100000@levais.imp.ch> In-Reply-To: <20020915034758.GB92777@madman.nectar.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Thanks for backing it out. > Probably these buffers should be allocated on the heap. However, I Maxim is working on a patch. > 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. That would be also ok. > You mean the libc_r issue? I haven't mucked with the resolver in > -STABLE. Forget what I wrote. After looking at libc_r the problem was more clear. A stack overflow because pthreads has a fix stack limit. Martin 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?20020915135437.K3162-100000>