cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: segmentation fault when invalid url

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Feb 2002 08:52:26 +0100 (MET)

On Mon, 25 Feb 2002, Vishal_garg wrote:

> I am using curl-7.9.3.If the URL is invalid and doesn't contain 'http' or
> 'ftp'. foe e.g. if the url is "NULLxyz.txt" ,definitely it is invalid.But
> it seems that libcurl behaves differently for above URL in Windows and in
> linux. In Windows it gives error message like host not found or something
> like that but for linux in gives segmentation fault. Can you please help me
> to avoid this segmentation fault.

Can you please provide us with a source code example that makes this happen?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-25