curl-users
PATCH for 7.5, -o name longer than URL crash
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Dec 2000 12:41:10 +0100 (MET)
Received on 2000-12-06
Date: Wed, 6 Dec 2000 12:41:10 +0100 (MET)
As reported by James Griffiths, the report is found at
http://sourceforge.net/bugs/?func=detailbug&bug_id=124675&group_id=976
there's a bug in curl 7.5 that makes it crash when the -o file name is longer
than the URL!
The attached patch seems to fix the problem. I appriciate reports on this.
The patch is somewhat larger than necessary because I also took the
opportunity to remove the usage of global variables in src/urlglob.c.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
- TEXT/PLAIN attachment: curl7.5.patch