Skip to content

Commit 7710546

Browse files
committed
third_party: update libcurl from 7.76.0 to 7.80.0
Changelog: https://curl.se/changes.html#7_80_0 - curl 7.78.0 has not metalink support, see blog post about it [1] and pull request [2]. - libcurl build requires autotools, added required packages to .travis.mk NOTE: Job release_asan_clang11 in continuous integration triggers memory leak in Curl_resolv(): 022] # Starting group: http_client.sock_family:"AF_UNIX" [022] Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> [022] BrokenPipeError: [Errno 32] Broken pipe [022] [022] ================================================================= [022] ==1591052==ERROR: LeakSanitizer: detected memory leaks [022] [022] Indirect leak of 86 byte(s) in 1 object(s) allocated from: [022] #0 0x4a6072 in calloc (/home/ubuntu/actions-runner/_work/tarantool/tarantool/src/tarantool+0x4a6072) [022] tarantool#1 0x990839 in Curl_resolv (/home/ubuntu/actions-runner/_work/tarantool/tarantool/src/tarantool+0x990839) [022] [022] Indirect leak of 74 byte(s) in 1 object(s) allocated from: [022] #0 0x4a6072 in calloc (/home/ubuntu/actions-runner/_work/tarantool/tarantool/src/tarantool+0x4a6072) [022] tarantool#1 0x9907c5 in Curl_resolv (/home/ubuntu/actions-runner/_work/tarantool/tarantool/src/tarantool+0x9907c5) [022] [022] SUMMARY: AddressSanitizer: 160 byte(s) leaked in 2 allocation(s). Memory leak reproduced on default HTTP client and couldn't be reproduced with new clients created by require('http.client'):new(). Function Curl_resolv() has been added LSAN suppression list and new issue was submitted, see [3]. 1. https://daniel.haxx.se/blog/2021/06/07/bye-bye-metalink-in-curl/ 2. curl/curl#7176 3. tarantool#7080 NO_DOC=libcurl submodule bump NO_CHANGELOG=libcurl submodule bump NO_TEST=libcurl submodule bump Closes: tarantool#6029 Closes: tarantool/security#10
1 parent 2edc542 commit 7710546

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.travis.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ deps_tests:
7474

7575
deps_ubuntu_ghactions: deps_tests
7676
sudo apt-get update ${APT_EXTRA_FLAGS} && \
77-
sudo apt-get install -y -f libreadline-dev libunwind-dev
77+
sudo apt-get install -y -f libreadline-dev libunwind-dev \
78+
autoconf automake libtool
7879

7980
deps_coverage_ubuntu_ghactions: deps_ubuntu_ghactions
8081
sudo apt-get install -y -f lcov

asan/lsan.supp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ leak:Curl_hash_add
2323
leak:Curl_he2ai
2424
leak:Curl_open
2525
leak:Curl_resolver_init
26+
leak:Curl_resolv
2627

2728
# test: app-tap/iconv.test.lua
2829
# source: /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so

cmake/BuildLibCURL.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ macro(curl_build)
105105
--without-ca-bundle
106106
--without-ca-path
107107
--without-libpsl
108-
--without-libmetalink
109108
--without-librtmp
110109
--without-winidn
111110
--without-libidn2

third_party/curl

Submodule curl updated 1336 files

0 commit comments

Comments
 (0)