Daniel Stenberg
5796c7b132
fix memory leak in case of memory problems
...
CID 16 by coverity.com scan
2007-03-31 21:20:16 +00:00
Daniel Stenberg
dc2ea33e32
fix a (minor) memory leak in case of error
...
CID 21 in the coverity.com scan
2007-03-31 21:15:37 +00:00
Daniel Stenberg
c1f117700a
Pointless to check for non-NULL pointers that already have been dereferenced
...
and they have to be non-NULL long before this check.
CID 22 in the coverity.com scan
2007-03-31 21:10:05 +00:00
Daniel Stenberg
7ea90c46eb
avoid dereferencing a NULL pointer by setting a default word to lookup in case
...
it is missing
CID 5 in the coverity.com scan
2007-03-31 21:06:40 +00:00
Daniel Stenberg
4d9e24d1e4
Better deal with NULL pointers.
...
CID 3 and 4 from the coverity.com scan.
2007-03-31 21:01:18 +00:00
Daniel Stenberg
1f236ba108
"Pixel" fixed a problem that appeared when you used -f with user+password
...
embedded in the URL.
2007-03-31 20:47:23 +00:00
Daniel Stenberg
d27813c2dd
*** empty log message ***
2007-03-31 20:46:47 +00:00
Daniel Stenberg
453e9b0dce
add units to a few info
2007-03-31 20:19:02 +00:00
Daniel Stenberg
b8626c3df8
new URL for wxWidgets binding
2007-03-31 20:17:26 +00:00
Dan Fandrich
f8d78d57a7
Disable the SSH tests until the libssh2 bugs that causes test hangs
...
are sorted out.
2007-03-31 20:00:40 +00:00
Daniel Stenberg
371a25eee9
When curl_easy_duphandle() fails because it can't get or make a connection
...
cache, we must make sure not to derefence the NULL pointer...
CID 6 coverity.com scan
2007-03-31 11:28:03 +00:00
Daniel Stenberg
e535a71c71
The info types cannot be checked for explicity by ANDing the types since they
...
have not been properly defined to allow this! Instead of changing the defines
and break the ABI/API, I opted to modify the code to check for exact type
matches.
CID 10 coverity.com scan
2007-03-31 11:12:28 +00:00
Daniel Stenberg
b9e5fecf5f
Check for a NULL easy->easy_conn in multi_getsock() since it can in fact
...
happen when curl_multi_remove_handle() is called.
CID 13. coverity.com scan
2007-03-31 10:56:07 +00:00
Daniel Stenberg
3af08472ad
Removed check for ftpcode being NULL, as later it is derefenced unconditionally
...
anyway and we can just as well rely on it being valid.
CID 12, coverity.com scan
2007-03-31 10:39:54 +00:00
Yang Tse
fdc1b61507
sshd might fail to start if given an unsupported configuration option.
...
Try to avoid this problem checking for some possible unsupported options,
and avoid using them in the configuration file.
2007-03-31 03:21:08 +00:00
Dan Fandrich
7fd154f094
Fixed some typos in the comments.
2007-03-30 22:07:48 +00:00
Dan Fandrich
a209c32bf3
Resurrected old FTPS error tests 402 and 403 as 404 and 405.
2007-03-30 22:04:14 +00:00
Daniel Stenberg
75db459f0a
Pointer "conn" dereferenced before NULL check. found by coverity.com scan
2007-03-30 20:54:32 +00:00
Daniel Stenberg
74e54c5a49
Pointer "cur_pos" dereferenced before NULL check, found by coverity.com scan.
...
Removed the NULL check since the pointer must be valid already.
2007-03-30 20:52:42 +00:00
Daniel Stenberg
6fc151577e
pointless check for 'out' being non-NULL, since it was badly done and is
...
unnecessary - found by coverity.com scan
2007-03-30 20:50:31 +00:00
Daniel Stenberg
3dcc7202d5
dead code removed, found by the coverity.com scan
2007-03-30 19:59:15 +00:00
Dan Fandrich
40981286ea
Added HTTP --max-filesize tests and FTPS CCC failure test.
2007-03-30 18:50:55 +00:00
Yang Tse
f55a1c3a6c
Searching for sshd and sftp-server will be done first
...
in the PATH and afterwards in other common locations.
2007-03-30 10:11:49 +00:00
Yang Tse
c5586a65c2
ignore more generated files
2007-03-30 02:59:39 +00:00
Dan Fandrich
ffb11ad5c6
Don't tear down the ftp connection if the maximum filesize was exceeded
...
and added tests 290 and 291 to check.
2007-03-30 01:13:47 +00:00
Dan Fandrich
fbb1e49215
Added FTP-SSL failure test 402
2007-03-30 00:08:41 +00:00
Dan Fandrich
c26320d94f
Added ftps upload test 401
2007-03-29 22:50:23 +00:00
Dan Fandrich
f6e892b1b6
Added a libssh2 section.
2007-03-29 21:01:07 +00:00
Dan Fandrich
59302d4ba0
Show an absolute sftp: file path to give an additional example.
2007-03-29 20:44:06 +00:00
Dan Fandrich
c563a53c16
Eliminated extra / in scp/sftp URLs.
2007-03-29 19:19:06 +00:00
Dan Fandrich
7763bb9172
Send an EOF message before closing a channel, as recommended by RFC4254.
...
Enable libssh2 tracing when ssh debugging is turned on.
2007-03-29 19:17:18 +00:00
Dan Fandrich
e37a49086e
Add another option to tighten the test environment.
2007-03-29 18:46:09 +00:00
Yang Tse
a1e5c621c0
fix compiler warning
2007-03-29 12:29:32 +00:00
Dan Fandrich
f776c1d2eb
Abort if attempting to run as root.
2007-03-29 05:25:11 +00:00
Yang Tse
3d5a8515a6
fix error introduced in last commit
2007-03-29 00:11:55 +00:00
Yang Tse
42a7905205
Update comment
2007-03-28 23:53:13 +00:00
Yang Tse
bfa0f8c6c2
fix compiler warning
2007-03-28 19:05:43 +00:00
Yang Tse
869d192ffc
Improve detection of socket events which allow a further recv() call
...
to complete with no delay and actually find out what happened with
the socket. As well as detection of socket send()able condition.
This also allows removal of a Cygwin specific block of code.
2007-03-28 18:59:42 +00:00
Gisle Vanem
60bc103a78
djgpp uses gcc which has varadic macros.
2007-03-28 04:48:11 +00:00
Gisle Vanem
8a0a7ce3a8
Fix compiler warning.
2007-03-28 04:44:14 +00:00
Dan Fandrich
31b1e988f4
Only show exit status in verbose mode.
2007-03-28 04:36:09 +00:00
Gisle Vanem
25c064c888
Simplified code around 'tld_errmsg' a bit.
2007-03-28 04:23:33 +00:00
Dan Fandrich
884171aecf
Don't launch sshd as a daemon so its output can be logged.
2007-03-28 04:05:55 +00:00
Gunter Knauf
45b2577974
added variadic macro stuff.
2007-03-27 19:27:43 +00:00
Yang Tse
d58c7a8bdd
Update message
2007-03-27 18:16:35 +00:00
Yang Tse
eed47311f8
New Internal wrapper function Curl_select() around select (2), it
...
uses poll() when a fine poll() is available, so now libcurl can be
built without select() support at all if a fine poll() is available.
2007-03-27 18:15:26 +00:00
Yang Tse
59eaae42b8
don't retry select() call upon unrecoverable error EBADF
2007-03-27 15:22:49 +00:00
Dan Fandrich
59c620bfa5
Daniel Johnson's fix for shared object extension detection on Mac OS X.
2007-03-27 05:10:20 +00:00
Yang Tse
4294cac701
Platforms that lack autotools support should define HAVE_VARIADIC_MACROS_C99
...
and/or HAVE_VARIADIC_MACROS_GCC for specific compiler versions that support
variadic macros with C99 style and/or old gcc style in their specific config.h
file.
If previous definitions are not done, even when aplicable, and --disable-verbose
is used, the fallback (void) method will be used to define infof, avoiding the
inclusion of unwanted strings in the resulting library/executable.
2007-03-27 04:17:26 +00:00
Dan Fandrich
282127fbff
Tighten up a few more OpenSSH options
2007-03-27 04:01:39 +00:00