Steve Holme [Thu, 1 May 2014 19:29:34 +0000 (20:29 +0100)]
build: Added Visual Studio 2003 .NET (VC7.1) project files
Carrying on from commit
11025613b9 added VC7.1 project files which are
capable of supporting side-by-side compilation, as well as support for
some of the third-party libraries curl uses.
Dan Fandrich [Thu, 1 May 2014 09:00:30 +0000 (11:00 +0200)]
test585: Fixed NULL pointer dereference in fopen
Steve Holme [Wed, 30 Apr 2014 22:24:42 +0000 (23:24 +0100)]
build: Fixed generation when source file names contain spaces
This shouldn't happen with the source files in the repository, but
fixed the output when there are spurious files lying around that
contain spaces. For example "pop3 - Copy.c"
By including the offending source file in the project files the user
can then see the file and remove it if necessary.
Steve Holme [Sun, 27 Apr 2014 17:21:47 +0000 (18:21 +0100)]
build: Added VC7 and VC7.1 support to the project file generator
Note: VC7.1 templates are currently not available.
Steve Holme [Sun, 27 Apr 2014 12:57:30 +0000 (13:57 +0100)]
build: Added VC6 and VC12 support to the project file generator
Steve Holme [Fri, 18 Apr 2014 09:45:53 +0000 (10:45 +0100)]
build: Added VC11 support to the project file generator
Steve Holme [Wed, 16 Apr 2014 20:13:35 +0000 (21:13 +0100)]
build: Added VC9 and VC10 support to the project file generator
Steve Holme [Sat, 5 Apr 2014 17:24:12 +0000 (18:24 +0100)]
build: Added Visual Studio project file generator
Added a batch file for generating the Visual Studio project files from
the new template files.
Steve Holme [Mon, 28 Apr 2014 22:15:47 +0000 (23:15 +0100)]
copyright: Updated following recent edits
Dan Fandrich [Mon, 28 Apr 2014 22:06:32 +0000 (00:06 +0200)]
runtests.pl: Improved the check for a crash during torture tests
Dan Fandrich [Mon, 28 Apr 2014 22:05:19 +0000 (00:05 +0200)]
Added a few more const where possible
Dan Fandrich [Mon, 28 Apr 2014 15:11:37 +0000 (17:11 +0200)]
unit1395: Fixed null pointer dereference on torture test
Tatsuhiro Tsujikawa [Sun, 27 Apr 2014 07:28:31 +0000 (16:28 +0900)]
http2: Compile with latest nghttp2
commit
6d5f40238028f2d8c (Apr 27) or later nghttp2 is now required
Steve Holme [Sun, 27 Apr 2014 17:08:05 +0000 (18:08 +0100)]
build: Added other VC6 output files to the .gitignore list
Steve Holme [Sun, 27 Apr 2014 16:49:24 +0000 (17:49 +0100)]
build: Corrected libcurl PDB file name for x64 builds in VC8 through VC12
Steve Holme [Sun, 27 Apr 2014 16:28:59 +0000 (17:28 +0100)]
build: Added Visual Studio .NET (VC7) project files
Carrying on from commit
11025613b9 added VC7 project files which are
capable of supporting side-by-side compilation, as well as support for
some of the third-party libraries curl uses.
Steve Holme [Sun, 27 Apr 2014 12:28:18 +0000 (13:28 +0100)]
build: Added Visual Studio 6.0 (VC6) project files
Carrying on from commit
11025613b9 added a more thorough version of
the VC6 project files which are capable of supporting side-by-side
compilation, as well as support for some of the third-party libraries
curl uses.
Daniel Stenberg [Tue, 15 Apr 2014 11:49:18 +0000 (13:49 +0200)]
INFILESIZE: fields in UserDefined must not be changed run-time
set.infilesize in this case was modified in several places, which could
lead to repeated requests using the same handle to get unintendent/wrong
consequences based on what the previous request did!
Kamil Dudka [Wed, 23 Apr 2014 13:37:26 +0000 (15:37 +0200)]
nss: propagate blocking direction from NSPR I/O
... during the non-blocking SSL handshake
Daniel Stenberg [Wed, 23 Apr 2014 20:34:46 +0000 (22:34 +0200)]
test325: verify --proto-redir https=>http
Daniel Stenberg [Sun, 20 Apr 2014 17:37:54 +0000 (19:37 +0200)]
handler: make 'protocol' always specified as a single bit
This makes the findprotocol() function work as intended so that libcurl
can properly be restricted to not support HTTP while still supporting
HTTPS - since the HTTPS handler previously set both the HTTP and HTTPS
bits in the protocol field.
This fixes --proto and --proto-redir for most SSL protocols.
This is done by adding a few new convenience defines that groups HTTP
and HTTPS, FTP and FTPS etc that should then be used when the code wants
to check for both protocols at once. PROTO_FAMILY_[protocol] style.
Bug: https://github.com/bagder/curl/pull/97
Reported-by: drizzt
Steve Holme [Wed, 23 Apr 2014 19:43:56 +0000 (20:43 +0100)]
build: Added Visual Studio 2013 (VC12) project files
Carrying on from commit
11025613b9 added VC12 project files which are
capable of supporting side-by-side compilation, 32-bit and 64-bit
builds as well as support for some of the third-party libraries curl
uses.
Dan Fandrich [Wed, 23 Apr 2014 09:01:30 +0000 (11:01 +0200)]
cyassl: Use error-ssl.h when available
Versions since at least 2.9.4 renamed error.h to error-ssl.h, so use
whichever one is available.
Steve Holme [Tue, 22 Apr 2014 22:01:09 +0000 (23:01 +0100)]
RELEASE-NOTES: Synced with
386ed2d590
Daniel Stenberg [Tue, 22 Apr 2014 21:24:31 +0000 (23:24 +0200)]
gtls: fix NULL pointer dereference
gnutls_x509_crt_import() must not be called with a NULL certificate
Bug: http://curl.haxx.se/mail/lib-2014-04/0145.html
Reported-by: Damian Dixon
Daniel Stenberg [Tue, 22 Apr 2014 20:56:59 +0000 (22:56 +0200)]
curl_global_init_mem: bump initialized even if already initialized
As this makes curl_global_init_mem() behave the same way as
curl_global_init() already does in that aspect - the same number of
curl_global_cleanup() calls is then required to again decrease the
counter and then eventually do the cleanup.
Bug: http://curl.haxx.se/bug/view.cgi?id=1362
Reported-by: Tristan
Kamil Dudka [Thu, 17 Apr 2014 11:27:39 +0000 (13:27 +0200)]
nss: implement non-blocking SSL handshake
Kamil Dudka [Thu, 17 Apr 2014 11:12:59 +0000 (13:12 +0200)]
nss: split Curl_nss_connect() into 4 functions
Dan Fandrich [Tue, 22 Apr 2014 20:43:57 +0000 (22:43 +0200)]
tests: Fixed torture test for tests 1526 & 1527
Marc Hoersken [Tue, 22 Apr 2014 15:21:40 +0000 (17:21 +0200)]
sockfilt.c: clean up threaded approach and add documentation
Marc Hoersken [Tue, 22 Apr 2014 12:53:16 +0000 (14:53 +0200)]
sockfilt.c: zero initialize variable
Marc Hoersken [Tue, 22 Apr 2014 12:52:33 +0000 (14:52 +0200)]
sockfilt.c: fixed getting stuck waiting for MinGW stdin pipe
Daniel Stenberg [Mon, 21 Apr 2014 22:24:44 +0000 (00:24 +0200)]
configure: use the nghttp2 path correctly with pkg-config
When --with-nghttp2 was used (without a given path), the
PKG_CONFIG_LIBDIR varialbe could get clobbered and ruin a proper
detection of the library.
Reported-by: Dilyan Palauzov
Bug: http://curl.haxx.se/mail/lib-2014-04/0159.html
Dilyan Palauzov [Mon, 21 Apr 2014 18:12:20 +0000 (20:12 +0200)]
configure: fix wrong comment
copy and paste error
Steve Holme [Mon, 21 Apr 2014 16:40:50 +0000 (17:40 +0100)]
build: Fixed output name for Release builds in VC10 and VC11
Marc Hoersken [Sun, 20 Apr 2014 20:15:36 +0000 (22:15 +0200)]
sockfilt.c: properly handle disk files, pipes and character input
Marc Hoersken [Sun, 20 Apr 2014 16:26:24 +0000 (18:26 +0200)]
sockfilt.c: ignore non-key-events and continue waiting for input
Marc Hoersken [Sun, 20 Apr 2014 16:22:28 +0000 (18:22 +0200)]
sockfilt.c: free memory in case of memory allocation errors
Marc Hoersken [Sat, 19 Apr 2014 14:02:14 +0000 (16:02 +0200)]
multi.c: fix possible invalid memory access in case nfds overflows
ufds might not be allocated in case nfds overflows to zero while
extra_nfds is still non-zero. udfs is then accessed within the
extra_nfds-based for loop.
Marc Hoersken [Sat, 19 Apr 2014 14:00:43 +0000 (16:00 +0200)]
netrc.c: fix multiple possible dereferences of null pointers
Marc Hoersken [Sat, 19 Apr 2014 13:47:07 +0000 (15:47 +0200)]
parsedate.c: check sscanf result before passing it to strlen
Marc Hoersken [Sat, 19 Apr 2014 13:23:04 +0000 (15:23 +0200)]
telnet.c: check sscanf results before passing them to snprintf
Marc Hoersken [Sat, 19 Apr 2014 13:18:19 +0000 (15:18 +0200)]
telnet.c: fix possible use of uninitialized variable
Marc Hoersken [Sat, 19 Apr 2014 12:26:02 +0000 (14:26 +0200)]
telnet.c: fix possible use of non-null-terminated strings
Marc Hoersken [Sat, 19 Apr 2014 12:25:32 +0000 (14:25 +0200)]
url.c: fix possible use of non-null-terminated string with strlen
Follow up on
b0e742544be22ede33206a597b22682e51e0c676
Marc Hoersken [Fri, 18 Apr 2014 22:24:25 +0000 (00:24 +0200)]
tool_writeout.c: initialize string pointer variable
Marc Hoersken [Fri, 18 Apr 2014 22:17:47 +0000 (00:17 +0200)]
tool_formparse.c: fix possible use of non-null-terminated strings
Marc Hoersken [Fri, 18 Apr 2014 22:17:21 +0000 (00:17 +0200)]
url.c: fix possible use of non-null-terminated string with strlen
Marc Hoersken [Fri, 18 Apr 2014 21:56:54 +0000 (23:56 +0200)]
connect.c: fix multiple possible dereferences of null pointers
In case the first address in the tempaddr array is NULL,
the code would previously dereference an unchecked null pointer.
Marc Hoersken [Fri, 18 Apr 2014 21:53:48 +0000 (23:53 +0200)]
tftp.c: fix possible dereference of null pointer
Marc Hoersken [Fri, 18 Apr 2014 21:28:26 +0000 (23:28 +0200)]
tool_urlglob.c: added some comments to clarify for loop conditions
I was tempted to change those to >= 0 until I saw that this is
actually a for loop that terminates once i underflows.
Marc Hoersken [Fri, 18 Apr 2014 21:24:41 +0000 (23:24 +0200)]
socks_sspi.c: added pointer guards to FreeContextBuffer calls
The FreeContextBuffer SAL declaration does not declare the pointer
as optional, therefore it must not be NULL.
Marc Hoersken [Fri, 18 Apr 2014 20:59:25 +0000 (22:59 +0200)]
md5.c: fix use of uninitialized variable
Marc Hoersken [Fri, 18 Apr 2014 20:38:42 +0000 (22:38 +0200)]
curl_schannel.c: added explicit cast of structure pointers
Marc Hoersken [Fri, 18 Apr 2014 20:36:12 +0000 (22:36 +0200)]
curl_schannel.c: fix possible dereference of null pointer
Steve Holme [Fri, 18 Apr 2014 19:35:01 +0000 (20:35 +0100)]
RELEASE-NOTES: Synced with
33e0cba8f1
Steve Holme [Fri, 18 Apr 2014 17:02:04 +0000 (18:02 +0100)]
curl_easy_setopt: Updated CURLOPT_URL to include IMAP PARTIAL FETCH example
Steve Holme [Fri, 18 Apr 2014 16:42:40 +0000 (17:42 +0100)]
imap: Extended FETCH support to include PARTIAL URL specifier
Steve Holme [Fri, 18 Apr 2014 16:04:39 +0000 (17:04 +0100)]
url.c: Fixed typo in comment
Steve Holme [Fri, 18 Apr 2014 15:59:50 +0000 (16:59 +0100)]
curl_easy_setopt: Updated CURLOPT_URL to include IMAP query string examples
Steve Holme [Fri, 18 Apr 2014 15:50:38 +0000 (16:50 +0100)]
test810: Updated to use new IMAP URL query string functionality
Steve Holme [Fri, 18 Apr 2014 15:42:45 +0000 (16:42 +0100)]
imap: Expanded mailbox SEARCH support to use URL query strings
Steve Holme [Fri, 18 Apr 2014 14:58:33 +0000 (15:58 +0100)]
imap: Added support for parsing URL query strings
Added support for parsing query strings from the URL as defined by
RFC-5092.
Steve Holme [Fri, 18 Apr 2014 14:43:04 +0000 (15:43 +0100)]
imap: Introduced the SEARCH state
Steve Holme [Fri, 18 Apr 2014 14:01:57 +0000 (15:01 +0100)]
imap: Fixed untagged response detection when no data after command
Should a command return untagged responses that contained no data then
the imap_matchresp() function would not detect them as valid responses,
as it wasn't taking the CRLF characters into account at the end of each
line.
Steve Holme [Fri, 18 Apr 2014 09:24:20 +0000 (10:24 +0100)]
build: Added Visual Studio 2012 (VC11) project files
Carrying on from commit
11025613b9 added VC11 project files which are
capable of supporting side-by-side compilation, 32-bit and 64-bit
builds as well as support for some of the third-party libraries curl
uses.
Steve Holme [Thu, 17 Apr 2014 19:58:48 +0000 (20:58 +0100)]
build: Corrected Visual Studio solutions for DLL Release x64
Daniel Stenberg [Sat, 22 Mar 2014 16:07:31 +0000 (17:07 +0100)]
README.http2: mention some alt-svc thoughts
Steve Holme [Wed, 16 Apr 2014 22:15:02 +0000 (23:15 +0100)]
Makefile.am: Missed separator in commit
fbaa2f8660
Steve Holme [Wed, 16 Apr 2014 20:22:26 +0000 (21:22 +0100)]
build: Added Visual Studio 2010 (VC10) project files
Carrying on from commit
11025613b9 added VC10 project files which are
capable of supporting side-by-side compilation, 32-bit and 64-bit
builds as well as support for some of the third-party libraries curl
uses.
Dan Fandrich [Mon, 14 Apr 2014 06:02:06 +0000 (08:02 +0200)]
url: only use if_nametoindex() if IFNAMSIZ is available
Dan Fandrich [Wed, 9 Apr 2014 20:12:47 +0000 (22:12 +0200)]
symbian: fixed typo in comment
Steve Holme [Tue, 8 Apr 2014 23:01:51 +0000 (00:01 +0100)]
build: Added Visual Studio 2008 (VC9) project files
Carrying on from commit
11025613b9, added VC9 project files which are
capable of supporting side-by-side compilation, 32-bit and 64-bit
builds as well as support for some of the third-party libraries curl
uses.
Steve Holme [Tue, 8 Apr 2014 20:08:02 +0000 (21:08 +0100)]
sas: Added DIGEST-MD5 qop-option validation in native challange handling
Given that we presently support "auth" and not "auth-int" or "auth-conf"
for native challenge-response messages, added client side validation of
the quality-of-protection options from the server's challenge message.
Daniel Stenberg [Tue, 8 Apr 2014 08:17:03 +0000 (10:17 +0200)]
dist: include the projects/ files in releases
... the recent MSVC project files added by Steve Holme
Daniel Stenberg [Sun, 6 Apr 2014 21:13:08 +0000 (23:13 +0200)]
strerror: fix comment about vxworks' strerror_r buffer size
Bug: http://curl.haxx.se/mail/lib-2014-04/0063.html
Reported-by: Jeroen Koekkoek
Steve Holme [Sun, 6 Apr 2014 16:09:16 +0000 (17:09 +0100)]
sasl: Added forward declaration of structures following recent changes
To avoid urldata.h being included from the header file or that the
source file has the correct include order as highlighted by one of
the auto builds recently.
Steve Holme [Sun, 6 Apr 2014 15:56:05 +0000 (16:56 +0100)]
RELEASE-NOTES: Synced with
5cdb61abb2
Steve Holme [Sun, 6 Apr 2014 15:32:05 +0000 (16:32 +0100)]
tests: Disabled DIGEST-MD5 tests when running with SSPI enabled
Steve Holme [Sun, 6 Apr 2014 15:11:17 +0000 (16:11 +0100)]
sasl: Fixed compilation warning
warning: no previous prototype for 'Curl_sasl_create_digest_md5_message'
Steve Holme [Sun, 6 Apr 2014 15:09:19 +0000 (16:09 +0100)]
sasl: Added curl_memory.h include as per test 1132
Steve Holme [Sun, 6 Apr 2014 13:21:46 +0000 (14:21 +0100)]
sasl: Fixed compilation warning in SSPI builds
warning: 'sasl_digest_get_key_value' defined but not used
Steve Holme [Sun, 6 Apr 2014 13:10:18 +0000 (14:10 +0100)]
sasl: Corrected missing free of decoded challenge message from
607883f13c
Steve Holme [Sun, 6 Apr 2014 12:52:03 +0000 (13:52 +0100)]
sasl: Corrected add of Curl_sasl_decode_digest_md5_message() from
2c49e96092
Steve Holme [Sun, 6 Apr 2014 12:29:29 +0000 (13:29 +0100)]
sasl: Post DIGEST-MD5 SSPI code tidy up
* Added comments to SSPI NTLM message generation
* Added comments to native DIGEST-MD5 code
* Removed redundant identity pointer
Steve Holme [Sun, 6 Apr 2014 11:46:53 +0000 (12:46 +0100)]
sasl: Corrected pre-processor inclusion of SSPI based DIGEST-MD5 code
When CURL_DISABLE_CRYPTO_AUTH is defined the DIGEST-MD5 code should not
be included, regardless of whether USE__WINDOWS_SSPI is defined or not.
This is indicated by the definition of USE_HTTP_NEGOTIATE and USE_NTLM
in curl_setup.h.
Steve Holme [Sun, 6 Apr 2014 11:08:11 +0000 (12:08 +0100)]
sasl: Added support for DIGEST-MD5 via Windows SSPI
Steve Holme [Sun, 6 Apr 2014 00:22:47 +0000 (01:22 +0100)]
http_negotiate_sspi: Fixed compilation when USE_HTTP_NEGOTIATE not defined
Steve Holme [Sat, 5 Apr 2014 23:57:23 +0000 (00:57 +0100)]
Makefile.vc6: Added curl_sasl_sspi.c
Steve Holme [Sat, 5 Apr 2014 23:53:47 +0000 (00:53 +0100)]
Makefile.vc6: Follow up fix to commit
45d3f00803
Steve Holme [Wed, 2 Apr 2014 21:04:13 +0000 (22:04 +0100)]
ntlm: Moved the identity generation into shared SSPI code
Steve Holme [Sat, 5 Apr 2014 23:16:30 +0000 (00:16 +0100)]
sasl: Renamed SSPI module following short name clash
Steve Holme [Wed, 2 Apr 2014 20:21:12 +0000 (21:21 +0100)]
sasl: Added initial stub functions for SSPI DIGEST-MD support
Steve Holme [Wed, 2 Apr 2014 19:53:43 +0000 (20:53 +0100)]
sasl: Combined DIGEST-MD5 message decoding and generation
Marc Hoersken [Sat, 5 Apr 2014 19:45:39 +0000 (21:45 +0200)]
Makefile.vc6: added warnless.c to fix build
Steve Holme [Sat, 5 Apr 2014 17:48:48 +0000 (18:48 +0100)]
winbuild: Updated the VC++ make instructions following commit
11025613b9
* Added information regarding the February 2003 Platform SDK for VC6
* Updated the introduction to be similar to the IDE projects README
Tatsuhiro Tsujikawa [Sat, 5 Apr 2014 09:57:20 +0000 (18:57 +0900)]
http2: Compile with current nghttp2, which supports h2-11
Steve Holme [Sat, 5 Apr 2014 17:05:03 +0000 (18:05 +0100)]
winbuild: Added Visual Studio 2005 (VC8) project files
Added a more thorough version of the VC8 project files that exist in
the "vs" folder with the intention to add support for other versions of
Visual Studio. These files support side-by-side compilation, 32-bit and
64-bit builds as well as support for some of the third-party libraries
curl uses.
Daniel Stenberg [Fri, 4 Apr 2014 15:20:55 +0000 (17:20 +0200)]
curl_easy_setopt: fix wrong version number references
Daniel Stenberg [Fri, 4 Apr 2014 15:08:28 +0000 (17:08 +0200)]
docs: this is for 7.37.0
And clarify for curl that --proxy-header now must be used for headers
that are meant for a proxy, and they will not be included if the request
is not for a proxy.