aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-04mprintf: allow %.s with data not being zero terminatedDaniel Stenberg
If the precision is indeed shorter than the string, don't strlen() to find the end because that's not how the precision operator works. I also added a unit test for curl_msnprintf to make sure this works and that the fix doesn't a few other basic use cases. I found a POSIX compliance problem that I marked TODO in the unit test, and I figure we need to add more tests in the future. Reported-by: Török Edwin
2014-05-04RELEASE-NOTES: Synced with 4febbedc5aSteve Holme
2014-05-04curl_ntlm_core: Fixed use of long long for VC6 and VC7Steve Holme
Commit 07b66cbfa4 unfortunately broke native NTLM message support in compilers, such as VC6, VC7 and others, that don't support long long type declarations. This commit fixes VC6 and VC7 as they support the __int64 extension, however, we should consider an additional fix for other compilers that don't support this.
2014-05-04config-win32.h: Fixed HAVE_LONGLONG for Visual Studio .NET 2003 and upSteve Holme
Fixed the HAVE_LONGLONG declaration as long long is supported in Visual Studio .NET 2003 (VC7.1) onwards.
2014-05-04openssl: biomem->data is not zero terminatedDaniel Stenberg
So printf(%s) on it or reading before bounds checking is wrong, fixing it. Could previously lead to reading out of boundary. Reported-by: Török Edwin
2014-05-04BUILD.WINDOWS: update URL for windows prereqsDaniel Stenberg
2014-05-03easy_perform: spelling mistake in error messageDaniel Stenberg
2014-05-01Makefile.am: Added build-openssl.bat as README file references itSteve Holme
Missed in commit dce748d3f1.
2014-05-01build: Fixed Visual Studio project file generator missing some filesSteve Holme
As of commit 6cdd88f22c the Visual Studio project file generator would skip the first and last file from each group of files.
2014-05-01build: Added OpenSSL VC build helper for side-by-side compilationsSteve Holme
2014-05-01build: Added Visual Studio 2003 .NET (VC7.1) project filesSteve Holme
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.
2014-05-01test585: Fixed NULL pointer dereference in fopenDan Fandrich
2014-04-30build: Fixed generation when source file names contain spacesSteve Holme
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.
2014-04-29build: Added VC7 and VC7.1 support to the project file generatorSteve Holme
Note: VC7.1 templates are currently not available.
2014-04-29build: Added VC6 and VC12 support to the project file generatorSteve Holme
2014-04-29build: Added VC11 support to the project file generatorSteve Holme
2014-04-29build: Added VC9 and VC10 support to the project file generatorSteve Holme
2014-04-29build: Added Visual Studio project file generatorSteve Holme
Added a batch file for generating the Visual Studio project files from the new template files.
2014-04-28copyright: Updated following recent editsSteve Holme
2014-04-29runtests.pl: Improved the check for a crash during torture testsDan Fandrich
2014-04-29Added a few more const where possibleDan Fandrich
2014-04-28unit1395: Fixed null pointer dereference on torture testDan Fandrich
2014-04-27http2: Compile with latest nghttp2Tatsuhiro Tsujikawa
commit 6d5f40238028f2d8c (Apr 27) or later nghttp2 is now required
2014-04-27build: Added other VC6 output files to the .gitignore listSteve Holme
2014-04-27build: Corrected libcurl PDB file name for x64 builds in VC8 through VC12Steve Holme
2014-04-27build: Added Visual Studio .NET (VC7) project filesSteve Holme
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.
2014-04-27build: Added Visual Studio 6.0 (VC6) project filesSteve Holme
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.
2014-04-26INFILESIZE: fields in UserDefined must not be changed run-timeDaniel Stenberg
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!
2014-04-25nss: propagate blocking direction from NSPR I/OKamil Dudka
... during the non-blocking SSL handshake
2014-04-23test325: verify --proto-redir https=>httpDaniel Stenberg
2014-04-23handler: make 'protocol' always specified as a single bitDaniel Stenberg
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
2014-04-23build: Added Visual Studio 2013 (VC12) project filesSteve Holme
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.
2014-04-23cyassl: Use error-ssl.h when availableDan Fandrich
Versions since at least 2.9.4 renamed error.h to error-ssl.h, so use whichever one is available.
2014-04-22RELEASE-NOTES: Synced with 386ed2d590Steve Holme
2014-04-22gtls: fix NULL pointer dereferenceDaniel Stenberg
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
2014-04-22curl_global_init_mem: bump initialized even if already initializedDaniel Stenberg
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
2014-04-22nss: implement non-blocking SSL handshakeKamil Dudka
2014-04-22nss: split Curl_nss_connect() into 4 functionsKamil Dudka
2014-04-22tests: Fixed torture test for tests 1526 & 1527Dan Fandrich
2014-04-22sockfilt.c: clean up threaded approach and add documentationMarc Hoersken
2014-04-22sockfilt.c: zero initialize variableMarc Hoersken
2014-04-22sockfilt.c: fixed getting stuck waiting for MinGW stdin pipeMarc Hoersken
2014-04-22configure: use the nghttp2 path correctly with pkg-configDaniel Stenberg
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
2014-04-21configure: fix wrong commentDilyan Palauzov
copy and paste error
2014-04-21build: Fixed output name for Release builds in VC10 and VC11Steve Holme
2014-04-20sockfilt.c: properly handle disk files, pipes and character inputMarc Hoersken
2014-04-20sockfilt.c: ignore non-key-events and continue waiting for inputMarc Hoersken
2014-04-20sockfilt.c: free memory in case of memory allocation errorsMarc Hoersken
2014-04-19multi.c: fix possible invalid memory access in case nfds overflowsMarc Hoersken
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.
2014-04-19netrc.c: fix multiple possible dereferences of null pointersMarc Hoersken