curl.git
12 months ago[PATCH] sectransp: free certificate on error
Christian Schmitz [Wed, 11 Dec 2024 10:48:20 +0000 (11:48 +0100)]
[PATCH] sectransp: free certificate on error

Otherwise the certificate memory was leaked.

Closes #15721

Gbp-Pq: Name sectransp_free_certificate_on_error.patch

12 months ago[PATCH] async-thread: avoid closing eventfd twice
Andy Pan [Thu, 12 Dec 2024 12:48:56 +0000 (12:48 +0000)]
[PATCH] async-thread: avoid closing eventfd twice

When employing eventfd for socketpair, there is only one file
descriptor. Closing that fd twice might result in fd corruption.
Thus, we should avoid closing the eventfd twice, following the
pattern in lib/multi.c.

Fixes #15725
Closes #15727
Reported-by: Christian Heusel
Gbp-Pq: Name async_thread_avoid_closing_eventfd_twice.patch

12 months agoIn order to (partially) multi-arch-ify curl-config, remove all
Benjamin Moody [Wed, 27 Mar 2024 18:10:56 +0000 (18:10 +0000)]
In order to (partially) multi-arch-ify curl-config, remove all

Origin: vendor
Bug-Debian: https://bugs.debian.org/731998
Bug-Debian: https://bugs.debian.org/1075802
Forwarded: not-needed
Reviewed-by: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2024-11-06

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

12 months agobuild: Divide mit-krb5-gssapi link flags between LDFLAGS and LIBS
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

12 months agoBuild with GnuTLS.
Steve McIntyre [Mon, 5 Aug 2024 10:51:56 +0000 (11:51 +0100)]
Build with GnuTLS.

Origin: vendor
Forwarded: not-needed
Last-Update: 2024-11-06

Gbp-Pq: Name ZZZgnutls-build.patch

12 months agocurl (8.11.1-1) unstable; urgency=medium
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
curl (8.11.1-1) unstable; urgency=medium

  [ Samuel Henrique ]
  * New upstream version 8.11.1
    - Fix CVE-2024-11053: netrc and redirect credential leak (closes: #1089682)
  * Update wcurl to 2024.12.08
  * New patches:
    - async_thread_avoid_closing_eventfd_twice: Fix file descriptor issue with eventfd
    - sectransp_free_certificate_on_error: Fix memory leak
  * Refresh patches:
    - ZZZgnutls-build
    - build-Divide-mit-krb5-gssapi-link-flags-between-LDFLAGS-a
  * d/p/11_omit-directories-from-config: Update patch
  * Drop merged patches:
    - cmdline_ech_md_formatting_cleanups
    - duphandle_also_init_netrc
    - libssh_when_using_IPv6_numerical_address_add_brackets
    - netrc_support_large_file_longer_lines_longer_tokens
    - setopt_fix_CURLOPT_HTTP_CONTENT_DECODING
  * d/p/Remove-curl-s-LDFLAGS-from-curl-config-static-libs: Remove patch, not needed anymore

  [ Carlos Henrique Lima Melara ]
  * d/t/upstream-tests-*: test gnutls backend against installed curl
  * d/t/control: install curl on upstream-tests-gnutls and remove on openssl

[dgit import unpatched curl 8.11.1-1]

12 months agoImport curl_8.11.1.orig.tar.gz
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
Import curl_8.11.1.orig.tar.gz

[dgit import orig curl_8.11.1.orig.tar.gz]

12 months agoImport curl_8.11.1-1.debian.tar.xz
Samuel Henrique [Thu, 12 Dec 2024 21:38:04 +0000 (21:38 +0000)]
Import curl_8.11.1-1.debian.tar.xz

[dgit import tarball curl 8.11.1-1 curl_8.11.1-1.debian.tar.xz]