curl-users
--interface dumps core
From: Georg Horn <horn_at_koblenz-net.de>
Date: Fri, 6 Oct 2000 16:10:34 +0200
Date: Fri, 6 Oct 2000 16:10:34 +0200
Hi,
as the subject says, curl-7.3 dumps core when i use the --interface option.
As a quick fix, i removed line 1325 in file url.c:
free(hostdataptr); /* allocated by GetHost() */
GetHost() somewehre calls gethostbyname() and returns the pointer
it gets from there. The manpage for gethostbyname() says:
BUGS
All information is contained in a static area [...]
So the call to free() is obsolete, i think.
Bye,
Georg
Received on 2000-10-07