]> granicus.if.org Git - curl/log
curl
8 years agoFAQ: Update FTP directory listing section for MLSD command
Jay Satiro [Sat, 9 Jul 2016 07:05:55 +0000 (03:05 -0400)]
FAQ: Update FTP directory listing section for MLSD command

Explain how some FTP servers support the machine readable listing
format MLSD from RFC 3659 and compare it to LIST.

Ref: https://github.com/curl/curl/issues/906

8 years agoAppveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING
Sergei Nikulov [Wed, 22 Jun 2016 12:42:10 +0000 (15:42 +0300)]
Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING

Closes #892

8 years agoTODO: 17.4 also brings more HTTP/2 support
Daniel Stenberg [Thu, 30 Jun 2016 21:45:49 +0000 (23:45 +0200)]
TODO: 17.4 also brings more HTTP/2 support

8 years agoTODO: try next proxy if one doesn't work
Daniel Stenberg [Thu, 30 Jun 2016 21:42:06 +0000 (23:42 +0200)]
TODO: try next proxy if one doesn't work

Closes #896

8 years agoconn: don't free easy handle data in handler->disconnect
Daniel Stenberg [Wed, 29 Jun 2016 21:11:43 +0000 (23:11 +0200)]
conn: don't free easy handle data in handler->disconnect

Reported-by: Gou Lingfeng
Bug: https://curl.haxx.se/mail/lib-2016-06/0139.html

8 years agotest1244: test different proxy ports same URL
Daniel Stenberg [Wed, 29 Jun 2016 21:06:32 +0000 (23:06 +0200)]
test1244: test different proxy ports same URL

8 years agocurl_global_init.3: improved formatting of the flags
Daniel Stenberg [Wed, 29 Jun 2016 14:00:46 +0000 (16:00 +0200)]
curl_global_init.3: improved formatting of the flags

8 years agocurl_global_init.3: expand on the SSL and WIN32 bits purpose
Daniel Stenberg [Wed, 29 Jun 2016 13:57:44 +0000 (15:57 +0200)]
curl_global_init.3: expand on the SSL and WIN32 bits purpose

Reported-by: Richard Gray
Bug: https://curl.haxx.se/mail/lib-2016-06/0136.html

8 years agocleanup: minor code cleanup in Curl_http_readwrite_headers()
Michael Kaufmann [Tue, 21 Jun 2016 20:43:58 +0000 (22:43 +0200)]
cleanup: minor code cleanup in Curl_http_readwrite_headers()

- the expression of an 'if' was always true
- a 'while' contained a condition that was always true
- use 'if(k->exp100 > EXP100_SEND_DATA)' instead of 'if(k->exp100)'
- fixed a typo

Closes #889

8 years agoSFTP: set a generic error when no SFTP one exists...
Daniel Stenberg [Tue, 28 Jun 2016 13:28:04 +0000 (15:28 +0200)]
SFTP: set a generic error when no SFTP one exists...

... as otherwise we could get a 0 which would count as no error and we'd
wrongly continue and could end up segfaulting.

Bug: https://curl.haxx.se/mail/lib-2016-06/0052.html
Reported-by: 暖和的和暖
8 years agoROADMAP: http2 tests are merged, mention http2 perf
Daniel Stenberg [Tue, 28 Jun 2016 13:02:46 +0000 (15:02 +0200)]
ROADMAP: http2 tests are merged, mention http2 perf

8 years agodocs/README.md: to render nicer pages on github
Daniel Stenberg [Tue, 28 Jun 2016 12:09:08 +0000 (14:09 +0200)]
docs/README.md: to render nicer pages on github

... as previously the README.cmake would be picked and put at the bottom
of the docs page there and it wasn't very representative!

8 years agoREADME.md: change host name for the svg logo
Daniel Stenberg [Tue, 28 Jun 2016 11:58:07 +0000 (13:58 +0200)]
README.md: change host name for the svg logo

rawgit.com asks to use the domain cdn.rawgit.com for production

See #900

8 years agoREADME.md: use the SVG logo
Viktor Szakats [Tue, 28 Jun 2016 11:00:05 +0000 (13:00 +0200)]
README.md: use the SVG logo

8 years agoREADME.md: logo on top!
Daniel Stenberg [Tue, 28 Jun 2016 08:41:22 +0000 (10:41 +0200)]
README.md: logo on top!

8 years agoKNOWN_BUGS: 3.4 POP3 expects "CRLF.CRLF" eob for some
Daniel Stenberg [Tue, 28 Jun 2016 06:24:16 +0000 (08:24 +0200)]
KNOWN_BUGS: 3.4 POP3 expects "CRLF.CRLF" eob for some

Closes #740

8 years agoRELEASE-NOTES: synced with d61c80515aa8
Daniel Stenberg [Mon, 27 Jun 2016 15:06:52 +0000 (17:06 +0200)]
RELEASE-NOTES: synced with d61c80515aa8

8 years agoacinclude.m4: improve autodetection of CA bundle on FreeBSD
Michael Osipov [Fri, 24 Jun 2016 13:17:53 +0000 (15:17 +0200)]
acinclude.m4: improve autodetection of CA bundle on FreeBSD

The FreeBSD Port security/ca_root_nss installs the Mozilla NSS CA bundle
to /usr/local/share/certs/ca-root-nss.crt. Use this bundle in the
discovery process.

This change also removes the former FreeBSD path that has been obsolete
for 8 years since this FreeBSD ports commit:
https://svnweb.freebsd.org/ports/head/security/?view=revision&revision=215953

Closes #894

8 years agoconfigure: don't specify .lib for libs on windows
Daniel Stenberg [Wed, 22 Jun 2016 12:23:46 +0000 (14:23 +0200)]
configure: don't specify .lib for libs on windows

Another follow up for crypt32.lib linking with winssl

8 years agoconfigure: fix winssl LIBS change typo
Daniel Stenberg [Wed, 22 Jun 2016 11:50:56 +0000 (13:50 +0200)]
configure: fix winssl LIBS change typo

follow-up from 120bf29e

8 years agoTODO: "TCP Fast Open" is done, add monitor pool connections
Daniel Stenberg [Wed, 22 Jun 2016 10:06:47 +0000 (12:06 +0200)]
TODO: "TCP Fast Open" is done, add monitor pool connections

8 years agoconfigure: add crypt32.lib for winssl builds
Daniel Stenberg [Wed, 22 Jun 2016 09:57:25 +0000 (11:57 +0200)]
configure: add crypt32.lib for winssl builds

Necessary since 6cabd78531f

8 years agoMakefile.vc: link with crypt32.lib for winssl builds
Daniel Stenberg [Wed, 22 Jun 2016 09:07:05 +0000 (11:07 +0200)]
Makefile.vc: link with crypt32.lib for winssl builds

Necessary since 6cabd78531f

Fixes #853

8 years agoVC: Add crypt32.lib to Visual Sudio project template files
Joel Depooter [Wed, 1 Jun 2016 23:29:32 +0000 (16:29 -0700)]
VC: Add crypt32.lib to Visual Sudio project template files

Closes #854

8 years agovc: fix the build for schannel certinfo support
Daniel Stenberg [Wed, 22 Jun 2016 08:53:28 +0000 (10:53 +0200)]
vc: fix the build for schannel certinfo support

Broken since 6cabd785, which adds use of the Curl_extract_certinfo
function from the x509asn1.c file.

8 years agotypedefs: use the full structs in internal code...
Daniel Stenberg [Tue, 21 Jun 2016 17:31:24 +0000 (19:31 +0200)]
typedefs: use the full structs in internal code...

... and save the typedef'ed names for headers and external APIs.

8 years agointernals: rename the SessionHandle struct to Curl_easy
Daniel Stenberg [Tue, 21 Jun 2016 13:47:12 +0000 (15:47 +0200)]
internals: rename the SessionHandle struct to Curl_easy

8 years agoheaders: forward declare CURL, CURLM and CURLSH as structs
Daniel Stenberg [Tue, 21 Jun 2016 12:39:33 +0000 (14:39 +0200)]
headers: forward declare CURL, CURLM and CURLSH as structs

Instead of typedef'ing to void, typedef to their corresponding actual
struct names to allow compilers to type-check.

Assisted-by: Reinhard Max
8 years agovtls: Only call add/getsession if session id is enabled
Jay Satiro [Mon, 13 Jun 2016 03:47:12 +0000 (23:47 -0400)]
vtls: Only call add/getsession if session id is enabled

Prior to this change we called Curl_ssl_getsessionid and
Curl_ssl_addsessionid regardless of whether session ID reusing was
enabled. According to comments that is in case session ID reuse was
disabled but then later enabled.

The old way was not intuitive and probably not something users expected.
When a user disables session ID caching I'd guess they don't expect the
session ID to be cached anyway in case the caching is later enabled.

8 years agocurl.1: the used progress meter suffix is k in lower case
Daniel Stenberg [Tue, 21 Jun 2016 22:37:36 +0000 (00:37 +0200)]
curl.1: the used progress meter suffix is k in lower case

Closes #883

8 years agocmake: now using BUILD_TESTING=ON/OFF
Sergei Nikulov [Thu, 16 Jun 2016 10:53:50 +0000 (13:53 +0300)]
cmake: now using BUILD_TESTING=ON/OFF

CMake build now using BUILD_TESTING=ON/OFF (default is OFF) to build
tests and enabling CTest integration. Options BUILD_CURL_TESTS and
BUILD_DASHBOARD_REPORTS was removed.

Closes #882

Reviewed-by: Brad King
8 years agocleanup: fix method names in code comments
Michael Kaufmann [Tue, 21 Jun 2016 07:47:34 +0000 (09:47 +0200)]
cleanup: fix method names in code comments

Closes #887

8 years agocurl-compilers.m4: improve detection of GCC's -fvisibility= flag
Kamil Dudka [Tue, 21 Jun 2016 10:40:26 +0000 (12:40 +0200)]
curl-compilers.m4: improve detection of GCC's -fvisibility= flag

Some builds of GCC produce output on both stdout and stderr when --help
--verbose is used.  The 2>&1 redirection caused them to be arbitrarily
interleaved with each other because of stream buffering.  Consequently,
grep failed to match the fvisibility= string in the mixed output, even
though the string was present in GCC's standard output.

This led to silently disabling symbol hiding in some builds of curl.

8 years agotests: fix the HTTP/2 tests
Daniel Stenberg [Sun, 19 Jun 2016 21:52:01 +0000 (23:52 +0200)]
tests: fix the HTTP/2 tests

The HTTP/2 tests brought with commit bf05606ef1f were using the internal
name 'http2' for the HTTP/2 server, while in fact that name was already
used for the second instance of the HTTP server. This made tests using
the second instance (like test 2050) fail after a HTTP/2 test had run.

The server is now known as HTTP/2 internally and within the <server>
section in test cases. 1700, 1701 and 1702 were updated accordingly.

8 years agoopenssl: use more 'const' to fix build warnings with 1.1.0 branch
Daniel Stenberg [Sun, 19 Jun 2016 21:21:54 +0000 (23:21 +0200)]
openssl: use more 'const' to fix build warnings with 1.1.0 branch

8 years agocurl.1: missed 'T' in the progress unit suffixes
Daniel Stenberg [Fri, 17 Jun 2016 08:40:20 +0000 (10:40 +0200)]
curl.1: missed 'T' in the progress unit suffixes

8 years agocurl.1: mention the unix for the progress meter
Daniel Stenberg [Thu, 16 Jun 2016 22:32:34 +0000 (00:32 +0200)]
curl.1: mention the unix for the progress meter

8 years agoos400: add new definitions to ILE/RPG binding.
Patrick Monnerat [Thu, 16 Jun 2016 17:05:42 +0000 (19:05 +0200)]
os400: add new definitions to ILE/RPG binding.

8 years agoopenssl: fix cert check with non-DNS name fields present
Daniel Stenberg [Wed, 15 Jun 2016 13:36:40 +0000 (15:36 +0200)]
openssl: fix cert check with non-DNS name fields present

Regression introduced in 5f5b62635 (released in 7.48.0)

Reported-by: Fabian Ruff
Fixes #875

8 years agoaxtls: Use Curl_wait_ms instead of the less-portable usleep
Dan Fandrich [Thu, 16 Jun 2016 06:44:08 +0000 (08:44 +0200)]
axtls: Use Curl_wait_ms instead of the less-portable usleep

8 years agoaxtls: Fixed compile after compile 31c521b0
Dan Fandrich [Thu, 16 Jun 2016 06:29:10 +0000 (08:29 +0200)]
axtls: Fixed compile after compile 31c521b0

8 years agotests: Added HTTP proxy keywords to tests 1141 & 1142
Dan Fandrich [Wed, 15 Jun 2016 21:04:48 +0000 (23:04 +0200)]
tests: Added HTTP proxy keywords to tests 1141 & 1142

8 years agocmake: Fix build with winldap
Sergei Nikulov [Tue, 14 Jun 2016 14:11:48 +0000 (17:11 +0300)]
cmake: Fix build with winldap

Bug: https://github.com/curl/curl/pull/874
Reported-by: Sergei Nikulov
8 years agoCURLOPT_POSTFIELDS.3: Clarify what happens when set empty
Jay Satiro [Sat, 11 Jun 2016 21:33:16 +0000 (17:33 -0400)]
CURLOPT_POSTFIELDS.3: Clarify what happens when set empty

When CURLOPT_POSTFIELDS is set to an empty string libcurl will send a
zero-byte POST. Prior to this change it was documented as sending data
from the read callback.

This also changes the wording of what happens when empty or NULL so that
it's hopefully easier to understand for people whose primary language
isn't English.

Bug: https://github.com/curl/curl/issues/862
Reported-by: Askar Safin
8 years agocurl_multi_socket_action.3: Fix rewording
Michael Wallner [Tue, 7 Jun 2016 05:51:34 +0000 (07:51 +0200)]
curl_multi_socket_action.3: Fix rewording

- Remove some erroneous text.

Closes https://github.com/curl/curl/pull/865

8 years agoresolve: enable protocol family logic for synthesized IPv6
Luo Jinghua [Tue, 7 Jun 2016 23:23:54 +0000 (07:23 +0800)]
resolve: enable protocol family logic for synthesized IPv6

- Enable protocol family logic for IPv6 resolves even when support
for synthesized addresses is enabled.

This is a follow up to the parent commit that added support for
synthesized IPv6 addresses from IPv4 on iOS/OS X. The protocol family
logic needed for IPv6 was inadvertently excluded if support for
synthesized addresses was enabled.

Bug: https://github.com/curl/curl/issues/863
Ref: https://github.com/curl/curl/pull/866
Ref: https://github.com/curl/curl/pull/867

8 years agoresolve: add support for IPv6 DNS64/NAT64 Networks on OS X + iOS
Luo Jinghua [Tue, 7 Jun 2016 10:11:37 +0000 (18:11 +0800)]
resolve: add support for IPv6 DNS64/NAT64 Networks on OS X + iOS

Use getaddrinfo() to resolve the IPv4 address literal on iOS/Mac OS X.
If the current network interface doesn’t support IPv4, but supports
IPv6, NAT64, and DNS64.

Closes #866
Fixes #863

8 years agotests: two more HTTP/2 tests
Daniel Stenberg [Sun, 5 Jun 2016 09:28:31 +0000 (11:28 +0200)]
tests: two more HTTP/2 tests

1701 and 1702

8 years agoruntests: don't display logs when http2 server fails to start
Daniel Stenberg [Sun, 5 Jun 2016 09:17:29 +0000 (11:17 +0200)]
runtests: don't display logs when http2 server fails to start

8 years agoruntests: make stripfile work on stdout as well
Daniel Stenberg [Fri, 3 Jun 2016 21:54:06 +0000 (23:54 +0200)]
runtests: make stripfile work on stdout as well

... and have test 1700 use that to strip out the nghttpx server: headers

8 years agohttp2-tests: test1700 is the first real HTTP/2 test
Daniel Stenberg [Fri, 3 Jun 2016 21:36:10 +0000 (23:36 +0200)]
http2-tests: test1700 is the first real HTTP/2 test

It requires that 'nghttpx' is in the PATH, and it will run the tests
using nghttpx as a front-end proxy in front of the standard HTTP/1 test
server. This uses HTTP/2 over plain TCP.

If you like me have nghttpx installed in a custom path, you can run test 1700
like this:

$ PATH=$PATH:$HOME/build-nghttp2/bin/ ./runtests.pl 1700

8 years agoRELEASE-NOTES: synced with 34855feeb4c299
Daniel Stenberg [Mon, 6 Jun 2016 21:23:44 +0000 (23:23 +0200)]
RELEASE-NOTES: synced with 34855feeb4c299

8 years agoschannel: Disable ALPN on Windows < 8.1
Steve Holme [Mon, 6 Jun 2016 19:53:30 +0000 (20:53 +0100)]
schannel: Disable ALPN on Windows < 8.1

Calling QueryContextAttributes with SECPKG_ATTR_APPLICATION_PROTOCOL
fails on Windows < 8.1 so we need to disable ALPN on these OS versions.

Inspiration provide by: Daniel Seither

Closes #848
Fixes #840

8 years agochecksrc: Add LoadLibrary to the banned functions list
Jay Satiro [Mon, 6 Jun 2016 01:07:03 +0000 (21:07 -0400)]
checksrc: Add LoadLibrary to the banned functions list

LoadLibrary was supplanted by Curl_load_library for security
reasons in 6df916d.

8 years agohttp: Fix HTTP/2 connection reuse
Jay Satiro [Sun, 5 Jun 2016 07:13:32 +0000 (03:13 -0400)]
http: Fix HTTP/2 connection reuse

- Change the parser to not require a minor version for HTTP/2.

HTTP/2 connection reuse broke when we changed from HTTP/2.0 to HTTP/2
in 8243a95 because the parser still expected a minor version.

Bug: https://github.com/curl/curl/issues/855
Reported-by: Andrew Robbins, Frank Gevaerts
8 years agoconnect.c: Fixed compilation warning from commit 332e8d6164
Steve Holme [Sat, 4 Jun 2016 20:52:08 +0000 (21:52 +0100)]
connect.c: Fixed compilation warning from commit 332e8d6164

connect.c:952:5: warning: suggest explicit braces to avoid ambiguous 'else'

8 years agowin32: Used centralised verify windows version function
Steve Holme [Sat, 4 Jun 2016 19:58:39 +0000 (20:58 +0100)]
win32: Used centralised verify windows version function

Closes #845

8 years agowin32: Added verify windows version functionality
Steve Holme [Sat, 4 Jun 2016 19:51:32 +0000 (20:51 +0100)]
win32: Added verify windows version functionality

8 years agowin32: Introduced centralised verify windows version function
Steve Holme [Sat, 4 Jun 2016 19:06:56 +0000 (20:06 +0100)]
win32: Introduced centralised verify windows version function

8 years agotool_urlglob: fix off-by-one error in glob_parse()
Kamil Dudka [Fri, 3 Jun 2016 09:26:20 +0000 (11:26 +0200)]
tool_urlglob: fix off-by-one error in glob_parse()

... causing SIGSEGV while parsing URL with too many globs.
Minimal example:

$ curl $(for i in $(seq 101); do printf '{a}'; done)

Reported-by: Romain Coltel
Bug: https://bugzilla.redhat.com/1340757

8 years agolibcurl-multi.3: fix small typo
Benjamin Kircher [Wed, 1 Jun 2016 17:02:18 +0000 (19:02 +0200)]
libcurl-multi.3: fix small typo

Closes #850

8 years agomakefile.m32: add crypt32 for winssl builds
Viktor Szakats [Wed, 1 Jun 2016 08:35:38 +0000 (10:35 +0200)]
makefile.m32: add crypt32 for winssl builds

Dependency added by 6cabd78

Closes #849

8 years agovtls: fix ssl session cache race condition
Ivan Avdeev [Wed, 1 Jun 2016 07:30:03 +0000 (09:30 +0200)]
vtls: fix ssl session cache race condition

Sessionid cache management is inseparable from managing individual
session lifetimes. E.g. for reference-counted sessions (like those in
SChannel and OpenSSL engines) every session addition and removal
should be accompanied with refcount increment and decrement
respectively. Failing to do so synchronously leads to a race condition
that causes symptoms like use-after-free and memory corruption.
This commit:
 - makes existing session cache locking explicit, thus allowing
   individual engines to manage lock's scope.
 - fixes OpenSSL and SChannel engines by putting refcount management
   inside this lock's scope in relevant places.
 - adds these explicit locking calls to other engines that use
   sessionid cache to accommodate for this change. Note, however,
   that it is unknown whether any of these engines could also have
   this race.

Bug: https://github.com/curl/curl/issues/815
Fixes #815
Closes #847

8 years agoschannel: add CURLOPT_CERTINFO support
Andrew Kurushin [Wed, 1 Jun 2016 06:48:30 +0000 (08:48 +0200)]
schannel: add CURLOPT_CERTINFO support

Closes #822

8 years agoRELEASE-NOTES: synced with 142ee9fa15002315
Daniel Stenberg [Tue, 31 May 2016 21:33:48 +0000 (23:33 +0200)]
RELEASE-NOTES: synced with 142ee9fa15002315

8 years agoopenssl: rename the private SSL_strerror
Daniel Stenberg [Tue, 31 May 2016 17:54:35 +0000 (19:54 +0200)]
openssl: rename the private SSL_strerror

... to make it not look like an OpenSSL function

8 years agoopenssl: Use correct buffer sizes for error messages
Michael Kaufmann [Tue, 31 May 2016 14:25:56 +0000 (16:25 +0200)]
openssl: Use correct buffer sizes for error messages

Closes #844

8 years agocurl: fix -q [regression]
Daniel Stenberg [Tue, 31 May 2016 12:13:33 +0000 (14:13 +0200)]
curl: fix -q [regression]

This broke in 7.49.0 with commit e200034425a7625

Fixes #842

8 years agoURL parser: allow URLs to use one, two or three slashes
Daniel Stenberg [Sun, 8 May 2016 13:11:10 +0000 (15:11 +0200)]
URL parser: allow URLs to use one, two or three slashes

Mostly in order to support broken web sites that redirect to broken URLs
that are accepted by browsers.

Browsers are typically even more leniant than this as the WHATWG URL
spec they should allow an _infinite_ amount. I tested 8000 slashes with
Firefox and it just worked.

Added test case 1141, 1142 and 1143 to verify the new parser.

Closes #791

8 years agocmake: Added missing mbedTLS support
Renaud Lehoux [Mon, 30 May 2016 15:26:10 +0000 (17:26 +0200)]
cmake: Added missing mbedTLS support

Closes #837

8 years agombedtls: removed unused variables
Renaud Lehoux [Mon, 30 May 2016 16:10:23 +0000 (18:10 +0200)]
mbedtls: removed unused variables

Closes #838

8 years agohttp: add CURLINFO_HTTP_VERSION and %{http_version}
Frank Gevaerts [Wed, 11 May 2016 12:23:37 +0000 (14:23 +0200)]
http: add CURLINFO_HTTP_VERSION and %{http_version}

Adds access to the effectively used http version to both libcurl and
curl.

Closes #799

8 years agobump: start the journey toward 7.50.0
Daniel Stenberg [Mon, 30 May 2016 20:55:54 +0000 (22:55 +0200)]
bump: start the journey toward 7.50.0

8 years agoopenssl: fix build with OPENSSL_NO_COMP
Marcel Raad [Mon, 30 May 2016 11:26:20 +0000 (13:26 +0200)]
openssl: fix build with OPENSSL_NO_COMP

With OPENSSL_NO_COMP defined, there is no function
SSL_COMP_free_compression_methods

Closes #836

8 years agomemdebug: fix MSVC crash with -DMEMDEBUG_LOG_SYNC
Gisle Vanem [Mon, 30 May 2016 09:43:04 +0000 (11:43 +0200)]
memdebug: fix MSVC crash with -DMEMDEBUG_LOG_SYNC

Fixes #828

8 years agoREADME.md: polish
Jonathan [Mon, 30 May 2016 08:46:35 +0000 (10:46 +0200)]
README.md: polish

Closes #834

8 years agoRELEASE-NOTES: fix vuln link
Daniel Stenberg [Mon, 30 May 2016 06:21:16 +0000 (08:21 +0200)]
RELEASE-NOTES: fix vuln link

8 years agoRELEASE-NOTES: 7.49.1 curl-7_49_1
Daniel Stenberg [Fri, 27 May 2016 14:58:43 +0000 (16:58 +0200)]
RELEASE-NOTES: 7.49.1

8 years agoloadlibrary: Only load system DLLs from the system directory
Steve Holme [Sun, 29 May 2016 20:57:40 +0000 (22:57 +0200)]
loadlibrary: Only load system DLLs from the system directory

Inspiration provided by: Daniel Stenberg and Ray Satiro

Bug: https://curl.haxx.se/docs/adv_20160530.html

Ref: Windows DLL hijacking with curl, CVE-2016-4802

8 years agossh: fix version number check typo
Daniel Stenberg [Mon, 30 May 2016 06:14:13 +0000 (08:14 +0200)]
ssh: fix version number check typo

8 years agocurl_share_setopt.3: Add min ver needed for ssl session lock
Jay Satiro [Sun, 29 May 2016 20:27:44 +0000 (16:27 -0400)]
curl_share_setopt.3: Add min ver needed for ssl session lock

Bug: https://github.com/curl/curl/issues/826
Reported-by: Michael Wallner
8 years agossh: fix build for libssh2 before 1.2.6
Daniel Stenberg [Sat, 28 May 2016 22:20:14 +0000 (00:20 +0200)]
ssh: fix build for libssh2 before 1.2.6

The statvfs functionality was added to libssh2 in that version, so we
switch off that functionality when built with older libraries.

Fixes #831

8 years agombedtls: fix includes so snprintf() works
Daniel Stenberg [Tue, 24 May 2016 10:14:18 +0000 (12:14 +0200)]
mbedtls: fix includes so snprintf() works

Regression from the previous *printf() rearrangements, this file missed to
include the correct header to make sure snprintf() works universally.

Reported-by: Moti Avrahami
Bug: https://curl.haxx.se/mail/lib-2016-05/0196.html

8 years agochecksrc.pl: Added variants of strcat() & strncat() to banned function list
Steve Holme [Mon, 23 May 2016 11:13:41 +0000 (12:13 +0100)]
checksrc.pl: Added variants of strcat() & strncat() to banned function list

Added support for checking the tchar, unicode and mbcs variants of
strcat() and strncat() in the banned function list.

8 years agosmtp: minor ident (white space) fixes
Daniel Stenberg [Mon, 23 May 2016 10:59:58 +0000 (12:59 +0200)]
smtp: minor ident (white space) fixes

8 years agoTHANKS: updated after script fixes
Daniel Stenberg [Mon, 23 May 2016 08:08:34 +0000 (10:08 +0200)]
THANKS: updated after script fixes

Now giving credit properly to github user names, fixed some UTF-8 issues
and added names discovered when contrithanks was improved.

8 years agoTHANKS-filter: more name cleanups
Daniel Stenberg [Mon, 23 May 2016 08:08:15 +0000 (10:08 +0200)]
THANKS-filter: more name cleanups

8 years agocontrithanks.sh: exclude existing names case insensitively
Daniel Stenberg [Mon, 23 May 2016 08:07:48 +0000 (10:07 +0200)]
contrithanks.sh: exclude existing names case insensitively

8 years agocontrithanks.sh: use same grep pattern and -a flag as contributors.sh
Daniel Stenberg [Mon, 23 May 2016 07:14:19 +0000 (09:14 +0200)]
contrithanks.sh: use same grep pattern and -a flag as contributors.sh

8 years agocontributors.sh: better grep pattern, use grep -a
Daniel Stenberg [Mon, 23 May 2016 07:13:43 +0000 (09:13 +0200)]
contributors.sh: better grep pattern, use grep -a

8 years agoTHANKS-filter: fix more names
Daniel Stenberg [Mon, 23 May 2016 07:13:20 +0000 (09:13 +0200)]
THANKS-filter: fix more names

8 years agocontrithanks.sh: do the same github fix as contributors.sh
Daniel Stenberg [Mon, 23 May 2016 06:50:53 +0000 (08:50 +0200)]
contrithanks.sh: do the same github fix as contributors.sh

from 1577bfa35ba

8 years agocontributors: Show GitHub username if real name unknown
Jay Satiro [Mon, 23 May 2016 06:42:12 +0000 (02:42 -0400)]
contributors: Show GitHub username if real name unknown

Prior to this change if a GitHub contributor's real name was unknown
they would be omitted from the list.

Bug: https://github.com/curl/curl/issues/824

8 years agoRELEASE-NOTES: synced with 3caaeffbe8ded4
Daniel Stenberg [Sat, 21 May 2016 14:05:54 +0000 (16:05 +0200)]
RELEASE-NOTES: synced with 3caaeffbe8ded4

8 years agoopenssl: cleanup must free compression methods
Jay Satiro [Fri, 20 May 2016 20:44:01 +0000 (16:44 -0400)]
openssl: cleanup must free compression methods

- Free compression methods if OpenSSL 1.0.2 to avoid a memory leak.

Bug: https://github.com/curl/curl/issues/817
Reported-by: jveazey@users.noreply.github.com
8 years agocurl_multibyte: fix compiler error
Gisle Vanem [Fri, 20 May 2016 14:50:04 +0000 (16:50 +0200)]
curl_multibyte: fix compiler error

While compiling lib/curl_multibyte.c with '-DUSE_WIN32_IDN' etc. I was
getting:

f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2054: expected '('
to follow 'CURL_EXTERN'

f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2085:
'curl_domalloc': not in formal parameter list

8 years agoTHANKS-filter: make Jan-E get proper credit
Daniel Stenberg [Fri, 20 May 2016 14:44:34 +0000 (16:44 +0200)]
THANKS-filter: make Jan-E get proper credit

8 years agowinbuild/Makefile.vc: Fix check on SSL, MBEDTLS, WINSSL exclusivity
Jan-E [Thu, 19 May 2016 20:35:50 +0000 (22:35 +0200)]
winbuild/Makefile.vc: Fix check on SSL, MBEDTLS, WINSSL exclusivity

Closes #818

8 years agolibcurl.m4: Avoid obsolete warning
Alexander Traud [Fri, 20 May 2016 12:57:48 +0000 (14:57 +0200)]
libcurl.m4: Avoid obsolete warning

Closes #821

8 years agoCURLOPT_CONNECT_TO.3: user must not free the list prematurely
Michael Kaufmann [Thu, 19 May 2016 22:06:40 +0000 (00:06 +0200)]
CURLOPT_CONNECT_TO.3: user must not free the list prematurely

The connect-to list isn't copied so as long as the handle may be used
for a transfer the list must be valid.

Bug: https://github.com/curl/curl/pull/819
Reported-by: Michael Kaufmann