- Oct 25, 2017
-
-
Daniel Stenberg authored
... since the 'tv' stood for timeval and this function does not return a timeval struct anymore. Also, cleaned up the Curl_timediff*() functions to avoid typecasts and clean up the descriptive comments. Closes #2011
-
Daniel Stenberg authored
-
Max Dymond authored
When using the FTP list parser, ensure that the memory that's allocated is always freed. Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3682 Closes #2013
-
Daniel Stenberg authored
... to cater for systems with unsigned time_t variables. - Renamed the functions to curlx_timediff and Curl_timediff_us. - Added overflow protection for both of them in either direction for both 32 bit and 64 bit time_ts - Reprefixed the curlx_time functions to use Curl_* Reported-by: Peter Piekarski Fixes #2004 Closes #2005
-
- Oct 22, 2017
-
-
Jon DeVree authored
Aurora is no longer used by Mozilla https://hacks.mozilla.org/2017/04/simplifying-firefox-release-channels/
-
Jon DeVree authored
The 'tip' is the most recent branch committed to, this should be 'default' like the URLs for the browser are. Closes #1998
-
Daniel Stenberg authored
CVE-2017-1000257 Reported-by: Brian Carpenter and 0xd34db347 Also detected by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3586
-
- Oct 20, 2017
-
-
Daniel Stenberg authored
... by using range checks. Among other things, this avoids an undefined behavior for a left shift that could happen on negative or very large values. Closes #1997 Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3694
-
Patrick Monnerat authored
The contents might have changed: size must be recomputed. Reported-by: moteus on github Fixes #1999
-
- Oct 19, 2017
-
-
Patrick Monnerat authored
On OS/400, `close' is an ASCII system macro that corrupts the code if not used in a context not targetting the close() system API.
-
Patrick Monnerat authored
Also adjust makefile to renamed files and warn about installation dirs mix-up.
-
Patrick Monnerat authored
-
- Oct 16, 2017
-
-
Daniel Stenberg authored
... filter early instead of risking "funny values" having to be dealt with elsewhere.
-
Daniel Stenberg authored
... that are multiplied by 1000 when stored. For 32 bit long systems, the max value accepted (2147483 seconds) is > 596 hours which is unlikely to ever be set by a legitimate application - and previously it didn't work either, it just caused undefined behavior. Also updated the man pages for these timeout options to mention the return code. Closes #1938
-
- Oct 15, 2017
-
-
Viktor Szakats authored
Allow to ovverride certain build tools, making it possible to use LLVM/Clang to build curl. The default behavior is unchanged. To build with clang (as offered by MSYS2), these settings can be used: CURL_CC=clang CURL_AR=llvm-ar CURL_RANLIB=llvm-ranlib Closes https://github.com/curl/curl/pull/1993
-
Viktor Szakats authored
Use memset() to initialize a structure to avoid LLVM/Clang warning: ldap.c:193:39: warning: missing field 'UserLength' initializer [-Wmissing-field-initializers] Closes https://github.com/curl/curl/pull/1992
-
- Oct 14, 2017
-
-
Daniel Stenberg authored
... to allow them to be included in torture tests too. closes #1980
-
- Oct 13, 2017
-
-
Patrick Monnerat authored
-
Daniel Stenberg authored
Reported-by: Jeroen Ooms Closes #1988
-
- Oct 12, 2017
-
-
Patrick Monnerat authored
Include test cases in 554, 587, 650. Fixes https://github.com/curl/curl/issues/1986
-
- Oct 11, 2017
-
-
Artak Galoyan authored
Now VERIFYHOST, VERIFYPEER and VERIFYSTATUS options change during active connection updates the current connection's (i.e.'connectdata' structure) appropriate ssl_config (and ssl_proxy_config) structures variables, making these options effective for ongoing connection. This functionality was available before and was broken by the following change: "proxy: Support HTTPS proxy and SOCKS+HTTP(s)" CommitId: cb4e2be7. Bug: https://github.com/curl/curl/issues/1941 Closes https://github.com/curl/curl/pull/1951
-
David Benjamin authored
Those were temporary things we'd add and remove for our own convenience long ago. The last few stayed around for too long as an oversight but have since been removed. These days we have a running BORINGSSL_API_VERSION counter which is bumped when we find it convenient, but 2015-11-19 was quite some time ago, so just check OPENSSL_IS_BORINGSSL. Closes #1979
-
- Oct 10, 2017
-
-
Daniel Stenberg authored
... as otherwise it could leak that memory. Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3600 Assisted-by: Max Dymond Closes #1977
-
Daniel Stenberg authored
Reported-by: Zenju on github Test 244 added to verify Fixes #1974 Closes #1976
-
- Oct 09, 2017
-
-
Daniel Stenberg authored
Enable PKCS12 for all non-boringssl builds without relying on configure or cmake checks. Bug: https://curl.haxx.se/mail/lib-2017-10/0007.html Reported-by: Christian Schmitz Closes #1948
-
Patrick Monnerat authored
This allows freeing a mime structure bound to the easy handle before curl_easy_cleanup(). Fixes #1970.
-
- Oct 08, 2017
-
-
Daniel Stenberg authored
... like a very large non-existing RTSP version number. Added test 577 to verify. Detected by OSS-fuzz. Closes #1969
-
Patrick Monnerat authored
Reported-by: Alexey Melnichuk Fixes #1962
-
Patrick Monnerat authored
-
Patrick Monnerat authored
Also avoid dangling pointers in referencing parts.
-
Patrick Monnerat authored
-
- Oct 07, 2017
-
-
Daniel Stenberg authored
This reverts commit f3e03f6c. Caused memory leaks in the fuzzer, needs to be done differently. Disable test 1553 for now too, as it causes memory leaks without this commit!
-
Daniel Stenberg authored
Closes #1960
-
Daniel Stenberg authored
... as we must clean up memory.
-
- Oct 06, 2017
-
-
Daniel Stenberg authored
When imap_done() got called before a connection is setup, it would try to "finish up" and dereffed a NULL pointer. Test case 1553 managed to reproduce. I had to actually use a host name to try to resolve to slow it down, as using the normal local server IP will make libcurl get a connection in the first curl_multi_perform() loop and then the bug doesn't trigger. Fixes #1953 Assisted-by: Max Dymond
-
Marcel Raad authored
When CURL_DISABLE_CRYPTO_AUTH is defined, Curl_none_md5sum's parameters are not used.
-
Daniel Stenberg authored
... fixes a memory leak with at least IMAP when remove_handle is never called and the transfer is abruptly just abandoned early. Test 1552 added to verify Detected by OSS-fuzz Assisted-by: Max Dymond Closes #1954
-
Benbuck Nason authored
Fixes #1950: curlx_strtoofft() doesn't fully protect against null 'str' argument. Closes #1952
-
Daniel Stenberg authored
Reported-by: Javier Sixto Fixes #1955 Closes #1956
-
Viktor Szakats authored
The source code is now prepared to handle the case when both Win32 Crypto and OpenSSL/NSS crypto backends are enabled at the same time, making it now possible to enable `USE_WIN32_CRYPTO` whenever the targeted Windows version supports it. Since this matches the minimum Windows version supported by curl (Windows 2000), enable it unconditionally for the Win32 platform. This in turn enables SMB (and SMBS) protocol support whenever Win32 Crypto is available, regardless of what other crypto backends are enabled. Ref: https://github.com/curl/curl/pull/1840#issuecomment-325682052 Closes https://github.com/curl/curl/pull/1943
-