cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SIGSEGV in resolver (redhat 6.0, 7.3)

From: Vojtech Janota <vojta_at_pohoda.cz>
Date: Mon, 9 Dec 2002 11:53:47 +0100 (CET)

> Sure, here it comes:
>
> First, apply this patch and see if it helps:
>
> --- curl-7.10.2/lib/hostip.c Mon Nov 11 23:51:09 2002
> +++ curl-7.10.2-fix/lib/hostip.c Mon Dec 9 11:05:35 2002
> @@ -627,7 +627,7 @@
> size is too small. Previous versions are known to return ERANGE for
> the same. */
>
> - if((ERANGE == res) || (EAGAIN == res)) {
> + if(ERANGE == res) {
> step_size+=200;
> continue;
> }

This indeed helped (redhat 6). Thank you for your prompt response.

Vojta

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-09