Package: libsoup3 / 3.6.5-4
Metadata
Package | Version | Patches format |
---|---|---|
libsoup3 | 3.6.5-4 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
soup init Use libdl instead of gmodule in soup2_is_loaded.patch | (download) |
libsoup/soup-init.c |
28 17 + 11 - 0 ! |
soup-init: use libdl instead of gmodule in `soup2_is_loaded` check Calling `g_module_open` in the library constructor can cause deadlocks when libsoup is used with other libraries that also contend for GLib mutexes. `dlopen` should be used instead. Co-authored-by: Nirbheek Chauhan <nirbheek@centricular.com> Bug: https://gitlab.gnome.org/GNOME/libsoup/-/issues/463 Bug: https://gitlab.gnome.org/GNOME/glib/-/issues/1443 Bug-Debian: https://bugs.debian.org/1109685 |
skip tls_interaction test.patch | (download) |
tests/ssl-test.c |
5 5 + 0 - 0 ! |
skip tls_interaction test This test is too unreliable on Debian architectures and this package is too critical to not get timely updates [smcv: Allow running it anyway, by setting an environment variable] Bug: https://gitlab.gnome.org/GNOME/libsoup/issues/120 |
Record Apache error log for unit tests and show it during.patch | (download) |
tests/test-utils.c |
11 10 + 1 - 0 ! |
record apache error log for unit tests and show it during teardown This helps to diagnose problems with the Apache-based tests. |
test utils Add more debug for starting stopping Apache.patch | (download) |
tests/test-utils.c |
17 14 + 3 - 0 ! |
test-utils: add more debug for starting/stopping apache |
tests extend timeout for http2 body stream test.patch | (download) |
tests/meson.build |
5 3 + 2 - 0 ! |
tests: extend timeout for http2-body-stream-test https://bugs.debian.org/1018709 |
multipart Fix read out of buffer bounds under soup_multip.patch | (download) |
libsoup/soup-multipart.c |
2 1 + 1 - 0 ! |
multipart: fix read out of buffer bounds under soup_multipart_new_from_message() This is CVE-2025-32914, special crafted input can cause read out of buffer bounds of the body argument. |
soup server http2 Check validity of the constructed conne.patch | (download) |
libsoup/server/http2/soup-server-message-io-http2.c |
4 4 + 0 - 0 ! |
soup-server-http2: check validity of the constructed connection uri The HTTP/2 pseudo-headers can contain invalid values, which the GUri rejects and returns NULL, but the soup-server did not check the validity and could abort the server itself later in the code. |
soup server http2 Correct check of the validity of the co.patch | (download) |
libsoup/server/http2/soup-server-message-io-http2.c |
15 10 + 5 - 0 ! |
soup-server-http2: correct check of the validity of the constructed connection URI RFC 5740: the CONNECT has unset the "scheme" and "path", thus allow them unset. The commit a792b23ab87cacbf4dd9462bf7b675fa678efbae also missed to decrement the `io->in_callback` in the early returns. Related to #429 |
auth digest fix crash in soup_auth_digest_get_protection_.patch | (download) |
libsoup/auth/soup-auth-digest.c |
2 1 + 1 - 0 ! |
auth-digest: fix crash in soup_auth_digest_get_protection_space() We need to validate the Domain parameter in the WWW-Authenticate header. Unfortunately this crash only occurs when listening on default ports 80 and 443, so there's no good way to test for this. The test would require running as root. |
test utils flush stdout after printing.patch | (download) |
tests/test-utils.c |
2 2 + 0 - 0 ! |
test-utils: flush stdout after printing test_printf() would be more useful if it were to actually guarantee that everything has printed; otherwise, it cannot be used to determine how far we've made it in a test before a hang. |
test utils fix deadlock in add_listener_in_thread.patch | (download) |
tests/test-utils.c |
6 4 + 2 - 0 ! |
test-utils: fix deadlock in add_listener_in_thread() The mutex is locked in the wrong place here. Hopefully fixes #379 |
tests Treat multithread test as an Apache test.patch | (download) |
tests/meson.build |
2 1 + 1 - 0 ! |
tests: treat multithread-test as an apache test This test calls apache_init() to run Apache on a hard-coded port, which means it cannot coexist with other tests in this group. Don't allow it to parallelize with others. Maybe helps: #1035983 |
soup form Fix a possible memory leak in soup_form_decode_.patch | (download) |
libsoup/soup-form.c |
12 9 + 3 - 0 ! |
soup-form: fix a possible memory leak in soup_form_decode_multipart() The output variables can be set multiple times, when there are multiparts with the same name, thus first clear any previously value and only then assign a new value. |
soup message headers Correct merge of ranges.patch | (download) |
libsoup/soup-message-headers.c |
1 1 + 0 - 0 ! |
soup-message-headers: correct merge of ranges It had been skipping every second range, which generated an array of a lot of insane ranges, causing large memory usage by the server. |
server mem limit test Limit memory usage only when not bu.patch | (download) |
meson.build |
4 4 + 0 - 0 ! |
server-mem-limit-test: limit memory usage only when not built witha sanitizer A build with -Db_sanitize=address crashes with failed mmap(), which is done inside libasan. The test requires 20.0TB of virtual memory when running with the sanitizer, which is beyond unsigned integer limits and may not trigger the bug anyway. |
websocket test Fix two memory leaks.patch | (download) |
tests/websocket-test.c |
6 6 + 0 - 0 ! |
websocket-test: fix two memory leaks The errors can be emitted also when joining the thread, in some cases, thus disconnect the handlers to avoid memory leaks in such case. |
misc test Fix two memory leaks.patch | (download) |
tests/misc-test.c |
2 2 + 0 - 0 ! |
misc-test: fix two memory leaks It's tested it returned the data/object, but it was not freed. |
http2 test Fix several memory leaks.patch | (download) |
tests/http2-test.c |
11 9 + 2 - 0 ! |
http2-test: fix several memory leaks These were more or less obvious, but missed. |
range test Fix a memory leak.patch | (download) |
tests/range-test.c |
1 1 + 0 - 0 ! |
range-test: fix a memory leak The 'succeed' is an argument, set by the caller, which does not mean the 'body' cannot be set to some data. |
soup multipart Verify boundary limits for multipart body.patch | (download) |
libsoup/soup-multipart.c |
2 1 + 1 - 0 ! |
soup-multipart: verify boundary limits for multipart body It could happen that the boundary started at a place which resulted into a negative number, which in an unsigned integer is a very large value. Check the body size is not a negative value before setting it. |
soup multipart Verify array bounds before accessing its m.patch | (download) |
libsoup/soup-multipart.c |
2 1 + 1 - 0 ! |
soup-multipart: verify array bounds before accessing its members The boundary could be at a place which, calculated, pointed before the beginning of the array. Check the bounds, to avoid read out of the array bounds. |
soup date utils Add value checks for date time parsing.patch | (download) |
libsoup/soup-date-utils.c |
23 15 + 8 - 0 ! |
soup-date-utils: add value checks for date/time parsing Reject date/time when it does not represent a valid value. |
tests Add tests for date time including timezone validati.patch | (download) |
libsoup/soup-date-utils.c |
8 4 + 4 - 0 ! |
tests: add tests for date-time including timezone validation work These tests are built on top of earlier work in a related pull request. |
tests Gracefully skip test if a large memory allocation f.patch | (download) |
tests/http2-body-stream-test.c |
10 8 + 2 - 0 ! |
tests: gracefully skip test if a large memory allocation fails On resource-constrained 32-bit machines, it might not be possible to allocate 1G of buffer space. Catch this and skip the test that uses very large buffers, instead of having it fail. Signed-off-by: Simon McVittie <smcv@debian.org> |
debian/docs Remove remotely accessed logo.patch | (download) |
docs/reference/libsoup.toml.in |
1 0 + 1 - 0 ! |
docs: remove remotely accessed logo Remote images in local documentation are not ideal from a privacy point of view. |