summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CI: inintial github action jobDaniel Stenberg2019-09-141-0/+17
| | | First shot at a CI build on github actions
* appveyor: add a winbuildDaniel Stenberg2019-09-131-1/+14
| | | | | | | Assisted-by: Marcel Raad Assisted-by: Jay Satiro Closes #4324
* FTP: allow "rubbish" prepended to the SIZE responseDaniel Stenberg2019-09-134-3/+135
| | | | | | | | | | This is a protocol violation but apparently there are legacy proprietary servers doing this. Added test 336 and 337 to verify. Reported-by: Philippe Marguinaud Closes #4339
* FTP: skip CWD to entry dir when target is absoluteZenju2019-09-132-2/+3
| | | | Closes #4332
* curl: fix memory leaked by parse_metalink()Kamil Dudka2019-09-133-1/+8
| | | | | | | | This commit fixes a regression introduced by curl-7_65_3-5-gb88940850. Detected by tests 2005, 2008, 2009, 2010, 2011, and 2012 with valgrind and libmetalink enabled. Closes #4326
* parsedate: still provide the name arrays when disabledDaniel Stenberg2019-09-131-5/+9
| | | | | | | | If FILE or FTP are enabled, since they also use them! Reported-by: Roland Hieber Fixes #4325 Closes #4343
* curl:file2string: load large files much fasterGilles Vollant2019-09-131-7/+24
| | | | | | | ... by using a more efficient realloc scheme. Bug: https://curl.haxx.se/mail/lib-2019-09/0045.html Closes #4336
* openssl: close_notify on the FTP data connection doesn't mean closureDaniel Stenberg2019-09-131-1/+4
| | | | | | | | | | | | For FTPS transfers, curl gets close_notify on the data connection without that being a signal to close the control connection! Regression since 3f5da4e59a556fc (7.65.0) Reported-by: Zenju on github Reviewed-by: Jay Satiro Fixes #4329 Closes #4340
* docs/HTTP3: fix `--with-ssl` ngtcp2 configure flagJimmy Gaussen2019-09-121-1/+1
| | | | Closes #4338
* RELEASE-NOTES: syncedDaniel Stenberg2019-09-121-171/+16
|
* curlver: bump to 7.66.1Daniel Stenberg2019-09-121-3/+3
|
* setopt: make it easier to add new enum valuesZenju2019-09-121-7/+7
| | | | | | ... by using the *_LAST define names better. Closes #4321
* asyn-thread: s/AF_LOCAL/AF_UNIX for SolarisDaniel Stenberg2019-09-121-2/+2
| | | | | | Reported-by: Dagobert Michelsen Fixes #4328 Closes #4333
* winbuild/MakefileBuild.vc: Add vsshBernhard Walle2019-09-111-0/+4
| | | | | | | | | | Without that modification, the Windows build using the makefiles doesn't work. Signed-off-by: Bernhard Walle <bernhard.walle@posteo.eu> Fixes #4322 Closes #4323
* winbuild/MakefileBuild.vc: Fix line endingsBernhard Walle2019-09-111-7/+7
| | | | | | The file had mixed line endings. Signed-off-by: Bernhard Walle <bernhard.walle@posteo.eu>
* ldap: Stop using wide char version of ldapp_err2stringJay Satiro2019-09-111-0/+6
| | | | | | | | | | | | | Despite ldapp_err2string being documented by MS as returning a PCHAR (char *), when UNICODE it is mapped to ldap_err2stringW and returns PWCHAR (wchar_t *). We have lots of code that expects ldap_err2string to return char *, most of it failf used like this: failf(data, "LDAP local: Some error: %s", ldap_err2string(rc)); Closes https://github.com/curl/curl/pull/4272
* RELEASE-NOTES: curl 7.66.0curl-7_66_0Daniel Stenberg2019-09-101-9/+25
|
* THANKS: from the 7.66.0 releaseDaniel Stenberg2019-09-101-0/+24
|
* curl: make sure the parallel transfers do them allDaniel Stenberg2019-09-101-5/+24
| | | | | | | | | The logic could erroneously break the loop too early before all transfers had been transferred. Reported-by: Tom van der Woerdt Fixes #4316 Closes #4317
* urlapi: one colon is enough for the strspn() input (typo)Daniel Stenberg2019-09-101-1/+1
|
* urlapi: verify the IPv6 numerical addressDaniel Stenberg2019-09-102-4/+17
| | | | | | | | | It needs to parse correctly. Otherwise it could be tricked into letting through a-f using host names that libcurl would then resolve. Like '[ab.be]'. Reported-by: Thomas Vegas Closes #4315
* openssl: use SSL_CTX_set_<min|max>_proto_version() when availableClément Notin2019-09-101-11/+105
| | | | | | | | OpenSSL 1.1.0 adds SSL_CTX_set_<min|max>_proto_version() that we now use when available. Existing code is preserved for older versions of OpenSSL. Closes #4304
* openssl: indent, re-organize and add commentsClément Notin2019-09-101-32/+38
|
* sspi: fix memory leaksmigueljcrum2019-09-104-0/+21
| | | | Closes #4299
* travis: disable ngtcp2 builds (again)Daniel Stenberg2019-09-101-14/+14
|
* Curl_fillreadbuffer: avoid double-free trailer buf on errorbagder/trailer-buf-freeDaniel Stenberg2019-09-093-12/+17
| | | | | | | Reviewed-by: Jay Satiro Reported-by: Thomas Vegas Closes #4307
* tool_setopt: handle a libcurl build without netrc supportDaniel Stenberg2019-09-091-0/+10
| | | | | | Reported-by: codesniffer13 on github Fixes #4302 Closes #4305
* security:read_data fix bad realloc()Daniel Stenberg2019-09-091-4/+2
| | | | | | | ... that could end up a double-free CVE-2019-5481 Bug: https://curl.haxx.se/docs/CVE-2019-5481.html
* tftp: Alloc maximum blksize, and use default unless OACK is receivedThomas Vegas2019-09-091-3/+9
| | | | | | | | Fixes potential buffer overflow from 'recvfrom()', should the server return an OACK without blksize. Bug: https://curl.haxx.se/docs/CVE-2019-5482.html CVE-2019-5482
* tftp: return error when packet is too small for optionsThomas Vegas2019-09-091-20/+33
|
* KNOWN_BUGS/TODO: cleanup and remove outdated issuesDaniel Stenberg2019-09-052-258/+32
|
* RELEASE-NOTES: syncedDaniel Stenberg2019-09-041-5/+20
|
* netrc: free 'home' on errorDaniel Stenberg2019-09-031-7/+12
| | | | | | | | Follow-up to f9c7ba9096ec2 Coverity CID 1453474 Closes #4291
* urldata: avoid 'generic', use dedicated pointersDaniel Stenberg2019-09-033-22/+25
| | | | | | For the 'proto' union within the connectdata struct. Closes #4290
* cleanup: move functions out of url.c and make them staticDaniel Stenberg2019-09-035-229/+220
| | | | Closes #4289
* smtp: check for and bail out on too short EHLO responseDaniel Stenberg2019-09-031-1/+5
| | | | | | | | | | | | Otherwise, a three byte response would make the smtp_state_ehlo_resp() function misbehave. Credit to OSS-Fuzz Bug: https://crbug.com/oss-fuzz/16918 Assisted-by: Max Dymond Closes #4287
* smb: init *msg to NULL in smb_send_and_recv()Daniel Stenberg2019-09-021-0/+1
| | | | | | | | | ... it might otherwise return OK from this function leaving that pointer uninitialized. Bug: https://crbug.com/oss-fuzz/16907 Closes #4286
* ROADMAP: updated after recent user pollDaniel Stenberg2019-09-021-16/+33
| | | | In rough prio order
* THANKS: remove duplicateDaniel Stenberg2019-08-312-1/+1
|
* Curl_addr2string: take an addrlen argument tooDaniel Stenberg2019-08-315-16/+24
| | | | | | | | | | | This allows the function to figure out if a unix domain socket has a file name or not associated with it! When a socket is created with socketpair(), as done in the fuzzer testing, the path struct member is uninitialized and must not be accessed. Bug: https://crbug.com/oss-fuzz/16699 Closes #4283
* CMake: remove needless newlines at end of gss variablesRolf Eike Beer2019-08-311-0/+4
|
* CI: remove duplicate configure flag for LGTM.comRolf Eike Beer2019-08-311-1/+1
|
* CMake: use platform dependent name for dlopen() libraryRolf Eike Beer2019-08-311-1/+1
| | | | Closes #4279
* quiche: expire when poll returned dataDaniel Stenberg2019-08-301-0/+3
| | | | | | ... to make sure we continue draining the queue until empty Closes #4281
* quiche: decrease available buffer size, don't assign it!Daniel Stenberg2019-08-301-1/+1
| | | | Found-by: Jeremy Lainé
* RELEASE-NOTES: syncedDaniel Stenberg2019-08-291-9/+15
|
* curl: fix include conditionslufia2019-08-292-1/+5
|
* plan9: fix installation instructionslufia2019-08-291-4/+4
| | | | Closes #4276
* ngtcp2: on h3 stream close, call expireDaniel Stenberg2019-08-291-1/+1
| | | | | | ... to trigger a new read to detect the stream close! Closes #4275
* ngtcp2: build latest ngtcp2 and ngtcp2_crypto_opensslTatsuhiro Tsujikawa2019-08-292-140/+8
| | | | Closes #4278