1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00
Commit Graph

4088 Commits

Author SHA1 Message Date
Daniel Stenberg
60ef75f2ee possibly uninitialized variable 2003-10-28 09:28:11 +00:00
Daniel Stenberg
1cdc66d927 overlapping memory chunks with strcpy(), detected by the friendly valgrind 2003-10-28 09:17:15 +00:00
Daniel Stenberg
ba12c5deda slightly quieter torture test by default 2003-10-27 06:40:48 +00:00
Daniel Stenberg
203f66d0cb James Bursa's fix to prevent failf() to write outside its buffer boundary 2003-10-27 06:35:47 +00:00
Daniel Stenberg
54c6f2c7c0 James Bursa found an ERRORBUFFFER overflow 2003-10-26 15:42:21 +00:00
Daniel Stenberg
4cccceb034 snprintf() made a single-byte buffer overflow, as it could write a zero
outside its given buffer. Discovered and reported by James Bursa.
2003-10-26 15:37:45 +00:00
Daniel Stenberg
245ab7c796 avoid dependence on the order of the fields in the timeval struct, pointed out
by Gisle Vanem
2003-10-25 06:03:50 +00:00
Daniel Stenberg
2bdf52d4c5 support building ares-enabled too 2003-10-24 22:30:40 +00:00
Daniel Stenberg
f991a69cce tests the new -C - fix 2003-10-24 21:58:43 +00:00
Daniel Stenberg
3dd26b7932 HTTP resume fix 2003-10-24 21:58:11 +00:00
Daniel Stenberg
a5e22867c7 Resuming a download of an already downloaded document, that is trying to get
a range of a document beyond its size, caused libcurl to "hang" until the
server closed the connection and then it returned error 18.

This is bad. This way, we don't return any error at all, which isn't nice
either, as we need to alert the app somehow that the request range was out
of size.
2003-10-24 21:54:34 +00:00
Daniel Stenberg
5c96266d45 solaris build improvement 2003-10-24 21:27:22 +00:00
Daniel Stenberg
fcfc6de918 Based on David Hull's fix in bug report 804599, we now check for solaris
and gcc, to set the -mimpure-text link flag for linking the lib better.
2003-10-24 21:26:04 +00:00
Daniel Stenberg
da0b380655 don't select() forever, set a timeout so at least the test fails nice 2003-10-24 20:58:34 +00:00
Daniel Stenberg
ed7ac3c932 better name, it isn't https 2003-10-24 20:39:39 +00:00
Daniel Stenberg
b5d4a71883 c-ares is the new name and ares_version() was added 2003-10-24 20:30:14 +00:00
Daniel Stenberg
a9d74e6c97 Introducing ares_version(), so that we can have apps get version info about
what particular ares version that is being used.
2003-10-24 20:28:04 +00:00
Daniel Stenberg
d46afd2b6a make it work with Negotiate support enabled too 2003-10-24 20:21:01 +00:00
Daniel Stenberg
ce4b8420d1 runtests -t introduced 2003-10-24 13:12:58 +00:00
Daniel Stenberg
faabd44658 improved the torture testing 2003-10-24 13:00:19 +00:00
Daniel Stenberg
2fe5f5ab4b supports -l now to display the actual line that was prevented by memlimit 2003-10-24 12:59:58 +00:00
Daniel Stenberg
656d4b4c20 if malloc fails, we must bail out nicely 2003-10-24 12:58:59 +00:00
Daniel Stenberg
7247041e21 Improved checks for bad memory situations and proper behaviour when we
run out of memory.
2003-10-24 12:58:29 +00:00
Daniel Stenberg
017a78d0c5 better bailing-out cleanup if a malloc fails in the DNS cache 2003-10-24 12:57:23 +00:00
Daniel Stenberg
9010bd3831 free all memory on failure before bailing out, not really necessary but
my upcoming automated test gets crazy if not
2003-10-24 12:56:27 +00:00
Daniel Stenberg
ded884e825 the actual release-notes is new too 2003-10-24 08:56:08 +00:00
Daniel Stenberg
b53a5e92c0 Introducing -t to "torture" the memory allocations/failing/bail-outing in
curl and libcurl. -t is not used anywhere automated yet, and it does already
identify memory leaks on failed allocations. Work to do.
2003-10-24 08:53:59 +00:00
Daniel Stenberg
69bdb82586 produce a single summary of the amount of allocations on -v 2003-10-24 08:09:33 +00:00
Daniel Stenberg
4799d39be6 disable-eprt, fixed CA cert verfication 2003-10-24 06:12:39 +00:00
Daniel Stenberg
f32d011d90 Georg Horn's patch. -k is no longer mutually exclusive with --cacert and
--capath. Using -k together with one of those just means that the result
of the CA cert check is ignored (but displayed if -v is used).
2003-10-23 07:46:22 +00:00
Daniel Stenberg
14f795816d Georg Horn's fixes to do different CA cert verifications. They can now be
done even if the result is ignored, as some sites seem to require that.
2003-10-23 07:44:55 +00:00
Daniel Stenberg
5987791516 encourage use of -c to store cookies instead of -D 2003-10-22 14:37:24 +00:00
Daniel Stenberg
db074518c3 allow gdb to check the libtest dir for sources too (for the 500- tests) 2003-10-22 12:46:45 +00:00
Daniel Stenberg
64731b0056 we continue to improve things 2003-10-22 12:05:21 +00:00
Daniel Stenberg
debe6a1432 make --disable-eprt work, based on Gisle Vanem's patch 2003-10-22 11:56:08 +00:00
Daniel Stenberg
715c3f6482 Dylan Ellicott added the vc-libcurl-ssl-dll target 2003-10-22 11:26:58 +00:00
Daniel Stenberg
f232baf4d2 Dylan Ellicott added the release-libcurl-ssl-dll target 2003-10-22 11:26:41 +00:00
Daniel Stenberg
b439e8ffb7 Do the auth stuff at the end-of-headers and not at the start-of-body, as
we might not get a body when we get a 401 with a set of WWW-Authenticate:
headers. This fixes the problem Kevin Roth detected in 7.10.8-pre4 and pre5.
Verified by test case 91.
2003-10-22 11:15:48 +00:00
Daniel Stenberg
475166fc8b Modified to be able to repeat Kevin Roth's problem 2003-10-22 11:12:30 +00:00
Daniel Stenberg
be2b742b85 Andres 2003-10-21 14:15:10 +00:00
Daniel Stenberg
640d6a5564 updated for mingw32 2003-10-21 14:14:25 +00:00
Daniel Stenberg
2e9d100d03 pre5 2003-10-21 14:11:25 +00:00
Daniel Stenberg
294adcae9d modified test 91 to look more like Kevin Roth's error case 2003-10-21 14:08:16 +00:00
Daniel Stenberg
1fd16e7b04 test case 91 added, an attempt to repeat a problem reported by Kevin Roth
on Oct 20, 2003.
2003-10-21 06:56:51 +00:00
Daniel Stenberg
d1c08e1d85 conn->user and conn->passwd will now always be set to point to something.
If not user or password is set, they will point to a "" string.
2003-10-21 06:34:15 +00:00
Daniel Stenberg
d7c09efeb1 no colons in user names with USERPWD 2003-10-21 06:06:32 +00:00
Daniel Stenberg
b83c7ade10 allow no user and password for proxy too, Basic 2003-10-20 20:32:08 +00:00
Daniel Stenberg
7d6584e140 allow no user and no passwd when doing basic auth 2003-10-20 20:30:40 +00:00
Daniel Stenberg
31b6bb6a41 lock the DNS cache properly before adding an entry when using asynch DNS 2003-10-20 08:45:33 +00:00
Daniel Stenberg
b84607ff7b run autoconf in the ares dir as well if the dir is present, after it has
been run "as usual"
2003-10-20 08:25:12 +00:00