summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ramakrishnan Muthukrishnan [Thu, 3 Aug 2023 22:35:34 +0000 (18:35 -0400)]
Build with GnuTLS.
Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2018-05-23
Gbp-Pq: Name 90_gnutls.patch
Daniel Stenberg [Thu, 14 Sep 2023 21:28:32 +0000 (23:28 +0200)]
[PATCH] cookie: remove unnecessary struct fields
Plus: reduce the hash table size from 256 to 63. It seems unlikely to
make much of a speed difference for most use cases but saves 1.5KB of
data per instance.
Closes #11862
Gbp-Pq: Name CVE-2023-38546.patch
Jay Satiro [Sat, 30 Sep 2023 07:40:02 +0000 (03:40 -0400)]
[PATCH] socks: return error if hostname too long for remote resolve
Prior to this change the state machine attempted to change the remote
resolve to a local resolve if the hostname was too long. Unfortunately
that did not always work as intended, leading to a security issue. And
when it did it's a privacy violation for users of socks5h that may
expect their DNS requests will not leak.
Bug: https://curl.se/docs/CVE-2023-38545.html
Backported by: Samuel Henrique <samueloph@debian.org>
Gbp-Pq: Name CVE-2023-38545.patch
Natanael Copa [Fri, 22 Sep 2023 13:58:49 +0000 (13:58 +0000)]
[PATCH] lib: use wrapper for curl_mime_data fseek callback
fseek uses long offset which does not match with curl_off_t. This leads
to undefined behavior when calling the callback and caused failure on
arm 32 bit.
Use a wrapper to solve this and use fseeko which uses off_t instead of
long.
Thanks to the nice people at Libera IRC #musl for helping finding this
out.
Fixes #11882
Fixes #11900
Closes #11918
Gbp-Pq: Name lib_use_wrapper_for_curl_mime_data_fseek_callback.patch
Dan Fandrich [Wed, 13 Sep 2023 07:07:25 +0000 (00:07 -0700)]
[PATCH] tests: increase the default server logs lock timeout
This timeout is used to wait for the server to finish writing its logs
before checking them against the expected values. An overloaded machine
could take more than the two seconds previously allocated, so increase
the timeout to 5 seconds.
Ref: #11328
Closes #11834
Gbp-Pq: Name tests_increase_the_default_server_logs_lock_timeout.patch
Dan Fandrich [Wed, 6 Sep 2023 18:07:58 +0000 (11:07 -0700)]
[PATCH] test650: fix an end tag typo
Gbp-Pq: Name test650_fix_an_end_tag_typo.patch
Simon McVittie [Tue, 22 Nov 2022 21:20:51 +0000 (21:20 +0000)]
Remove curl's LDFLAGS from curl-config --static-libs
On current Debian bookworm, the LDFLAGS consist of
-L/usr/lib/${triplet}/mit-krb5 originating from
`pkg-config --libs-only-L mit-krb5-gssapi` from krb5-multidev, plus
some linker options that are intended for curl itself rather than for
dependent packages. None of these are really desirable, and they create
divergence between architectures that would prevent libcurl-*-dev from
being Multi-Arch: same.
The -L flag is not really needed, for the same reason that -L@libdir@
isn't. curl Build-Depends on libkrb5-dev, which doesn't need a special
-L flag to find libgssapi_krb5, and the various libcurl-*-dev packages
have Suggests on libkrb5-dev rather than on krb5-multidev for static
linking.
The other options (currently `-Wl,-z-relro -Wl,-z,now`) are intended
for libcurl itself, and if dependent packages want those options then
they should set them from their own packaging.
Bug-Debian: https://bugs.debian.org/
1024668
Forwarded: not-needed
Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name Remove-curl-s-LDFLAGS-from-curl-config-static-libs.patch
Benjamin Moody [Thu, 5 Oct 2023 21:26:40 +0000 (22:26 +0100)]
In order to (partially) multi-arch-ify curl-config, remove all
Origin: vendor
Bug-Debian: http://bugs.debian.org/731998
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2017-01-10
mention of @includedir@ and @libdir@ from the script. On Debian, the actual
header and library directories are architecture-dependent, but will always be
in the C compiler's default search path, so -I and -L options are not
necessary (and may be harmful in multi-arch environments.)
Gbp-Pq: Name 11_omit-directories-from-config.patch
Simon McVittie [Tue, 22 Nov 2022 20:43:41 +0000 (20:43 +0000)]
build: Divide mit-krb5-gssapi link flags between LDFLAGS and LIBS
From the comments nearby about not having --libs-only-L, it looks as
though the intention was to apply a split like this to all dependency
libraries where possible, and the only reason it was not done for
Kerberos is that krb5-config doesn't have that feature and pkg-config
was originally not supported here. For example, zlib, libssh and librtmp
all have their flags from pkg-config split in this way.
Now that pkg-config is supported here, we can do the intended split.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Gbp-Pq: Name build-Divide-mit-krb5-gssapi-link-flags-between-LDFLAGS-a.patch
Alessandro Ghedini [Thu, 5 Oct 2023 21:26:40 +0000 (22:26 +0100)]
Enable zsh completion generation
Origin: vendor
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2016-08-03
Gbp-Pq: Name 08_enable-zsh.patch
Alessandro Ghedini [Thu, 5 Oct 2023 21:26:40 +0000 (22:26 +0100)]
Work around libtool --as-needed reordering bug
Origin: vendor
Bug-Debian: http://bugs.debian.org/347650
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2016-08-03
Gbp-Pq: Name 04_workaround_as_needed_bug.patch
Samuel Henrique [Thu, 5 Oct 2023 21:26:40 +0000 (22:26 +0100)]
curl (8.3.0-3) unstable; urgency=high
* Add patches to fix CVE-2023-38545 and CVE-2023-38546
[dgit import unpatched curl 8.3.0-3]
Samuel Henrique [Thu, 5 Oct 2023 21:26:40 +0000 (22:26 +0100)]
Import curl_8.3.0-3.debian.tar.xz
[dgit import tarball curl 8.3.0-3 curl_8.3.0-3.debian.tar.xz]
Samuel Henrique [Thu, 14 Sep 2023 10:43:10 +0000 (11:43 +0100)]
Import curl_8.3.0.orig.tar.gz
[dgit import orig curl_8.3.0.orig.tar.gz]