From patchwork Fri Nov 27 14:33:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10872 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jbbWT5b2Qz3wvg for ; Fri, 27 Nov 2026 14:33:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jbbWT3Nm2z5vB for ; Fri, 27 Nov 2026 14:33:41 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jbbWM2K9cz37BV for ; Fri, 27 Nov 2026 14:33:35 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jbbWF4mTqz36Wn for ; Fri, 27 Nov 2026 14:33:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jbbWD0QSbz74w; Fri, 27 Nov 2026 14:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795790008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vvIHzxyvfyVvn8DbFaq/MtXHkVlXBNM5QvV2g97B+aA=; b=OLzRafpcW5G1Nn4rOuuPjtX3d8doog3Nq+EHK782BWM5mSig/3zp5pSXInXlEW/sP5HMQ4 2AHcAviiS1eWOoDM5V8HWouZKmKhf0vfi5kUCL0P4aJGdZGmVNtDmMzguTUl2Wfirwk4lo YOKf5uP5vb6VthViEiGbwyUbxC6R4B78+YUDxG78CZx9qOmgDpn83rbMW287/TeiwiB97s wtI0VBDlmNLJSGYvnACB7IORfVJQe4GhBei8LdtoEkFXW0U/24LMBcPe1my+uIcme+cJIB s/ys7hTjTUwoeWseLWWq3b0Zk6gEtTiGdncoLKWZ+ObjaNz2yw9c8l26cpW3tw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795790008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vvIHzxyvfyVvn8DbFaq/MtXHkVlXBNM5QvV2g97B+aA=; b=63o2cxjvnmKTPKya7wiCmaZKkwsUvgtcqi2kR5IZyiUHzohK+msjBvB8BoSB6Y+RIgsPHo DS4lkQJynY05ZMAw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] glib: Update to version 2.91.0 Date: Fri, 27 Nov 2026 15:33:14 +0100 Message-ID: <20261127143322.3795112-9-adolf.belka@ipfire.org> In-Reply-To: <20261127143322.3795112-1-adolf.belka@ipfire.org> References: <20261127143322.3795112-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.90.1 to 2.91.0 - Update of rootfile - 1 CVE fix in 1.90.2 - also mentions various security fixes but no info given - Changelog 2.91.0 * Add `g_get_process_executable_dir()` helper API (#31, work by Emmanuel Fleury) * Use libffi call plan machinery from 3.7.0 if available, to speed up libffi dispatches (#4002, work by Christian Hergert) * Depend on MINGW-w64 ≥ 12.0.0 to simplify build on MinGW-w64 (#4065, work by otaxhu) * Use `posix_spawn()` in more cases with `closefrom()` file actions (#4096, work by Christian Hergert) * Fix DST offset in Europe/Dublin time zone when using slim TZif files (#4114, work by Philip Withnall) * Add new APIs to support XDG Intents in `GAppInfo` (!4797, work by Ignacy Kuchciński and Sebastian Wick) * Add `G_SAVE_ERRNO` macro to save and restore `errno` in a scope (!5302, work by Simon McVittie) * Add `G_MOUNT_MOUNT_READ_ONLY` flag to request read-only mounting (!5320, work by SnoutFirst) * Add `G_DISABLE_CLEANUP` macro to force disabling GLib’s cleanup macros, for code bases which can’t use them (!5371, work by Christian Hergert) * Handle the `org.freedesktop.Notifications.ActivationToken` signal in notifications (!5384, work by Alessandro Astone) * Require Windows ≥ 10 and deprecate UWP-only apps (!5415, work by otaxhu) * Bugs fixed: - #31 Binary relocatability API for glib (Emmanuel Fleury) - GNOME/gtksourceview#341 Changes in symlinked file cannot be saved (Christian Hergert) - #3298 glib-compile-resources crashes on Linux 4.19 (Leo Conforti) - #3996 G_REGEX_OPTIMIZE flag violates GRegex threadsafety guarantee (Samy) - #4002 Use libffi call plan machinery from 3.7.0 (Christian Hergert) - #4003 (#YWH-PGM9867-266) SUID Path Traversal on GLib GDesktopAppInfo through g_app_info_create_from_commandline() in glib/gio/gdesktopappinfo.c via `application_name` allows root-owned file creation outside XDG_DATA_HOME/applications directory (Samy) - #4026 gpoll-win32: recursive poll_rest call incorrectly discards msg_fd (otaxhu) - #4039 g_build_filename does not consider the path separator following a drive letter in the first element on Windows (John Thacker) - #4049 g_inet_address_new_from_string() doesn't accept all hostnames that pass g_hostname_is_ip_address() - #4050 kqueue monitor race can leave stale `ev.udata` and trigger UAF - #4061 g_timeout_add_seconds on 32-bit time_t has a conversion bug which hangs event loop on ppoll() EINVAL (Jonah Petri) - #4065 Define a minimum required version for MINGW-w64 on meson - #4069 g_file_copy() reports no progress on FreeBSD: copy_file_range() copies the whole file in one call (Sam Sheridan) - #4072 Leak in fdo-notification-backend (Philip Withnall) - #4073 Implement g_get_process_executable_dir() on FreeBSD (Philip Withnall) - #4074 Implement g_get_process_executable_dir() on Hurd - #4089 Local DoS through SCM_RIGHTS FD accumulation in GDBus - #4090 UBSan alignment warning in glocalfile (Philip Withnall) - #4091 -Wsign-conversion warning on arm64 OpenBSD in GString tests - #4093 GZlibCompressor: unsetting file-info keeps the old gzip header; deflate() reads the freed file name (heap-use-after-free) (Pu Cheng) - #4095 gdbusconnection: use-after-free in property calls to unregistered objects and to subtrees - #4096 Add support for posix_spawn_file_actions_addclosefrom_np to gspawn- posix.c - #4101 Potential use-after-free in GDBusObjectManagerClient signal delivery during cross-thread teardown (Nieves Montero Fernandez) - #4107 Unchecked `SignalNode.n_params` narrowing silently changes a registered GLib signal signature (IMZGforever) - #4108 Limit D-Bus introspection XML nesting to prevent stack-exhaustion crashes (Nieves Montero Fernandez) - #4109 GDBusWorker eagerly allocates up to 128 MiB from an authenticated peer’s message header (Nieves Montero Fernandez) - #4112 g_binding_group_dup_source() is annotated (transfer none) but returns a new reference (vbxf) - #4114 gtimezone: explicit zero DST offset in POSIX TZ string is treated as absent (breaks Europe/Dublin) (Philip Withnall) - #4117 GDBusObjectManagerClient crashes on malformed D-Bus variant payloads (Nieves Montero Fernandez) - #4125 msys2-clang64 CI fails with mingw-w64-clang-x86_64-python3 target not found pacman error - #4127 spawn tests fail under valgrind (Christian Hergert) - !4797 Add support for XDG Intents - !5302 macros: Add G_SAVE_ERRNO to save and restore errno in a scope - !5320 gio: Add G_MOUNT_MOUNT_READ_ONLY flag - !5321 Meson: Define O_CLOEXEC as O_NOINHERIT on Windows - !5322 array: Handle GArrays adding their own elements - !5324 gstdio.h: Adjust check for __GI_SCANNER__ - !5341 docs: Note where synchronous calls keep their completion bookkeeping - !5350 Port internal application spawning to async GTask - !5367 gregex: Avoid match-info overhead for boolean searches - !5371 glib/macros: Add macro to disable cleanup attribute - !5378 Simplify locking when adding interfaces - !5384 gfdonotificationbackend: Activate window with the activation-token - !5390 build: Mark timer test as failing on 32-bit x86 - !5391 build: Post-release version bump - !5395 gtimezone: Fix leak of TimeZoneKeyName buffer on Windows - !5398 Update Slovenian translation - !5399 gmessages: Fix an unused variable warning - !5400 win32: Fix g_get_process_executable_dir() path resolution - !5403 glib.supp: Mark a TLS variable as not really a leak again - !5407 gvariant: Fix transfer annotations for floating values - !5408 Update Georgian translation - !5409 gdir: Annotate directory exhaustion as nullable - !5410 gvalue: Annotate reset result as borrowed - !5414 Update Portuguese translation - !5415 win32: require Windows 10+ and deprecate UWP-only apps - !5416 Minor fixes to GDesktopAppInfo - !5417 gfileenumerator: Annotate nullable iteration outputs - !5419 Do not use recvmmsg and sendmmsg on AIX and IBM i - !5420 girepository: Disable fatal warnings for some g-ir-scanner calls - !5421 gactiongroup: Annotate nullable query outputs - !5424 glocalfile: Move file system types to a const array - !5425 Update Slovenian translation - !5427 Win32 file monitor: 'renamed_file' leaks on every reported rename - !5428 Implement g_get_process_executable_dir() on OpenBSD - !5432 gloadableicon: Annotate nullable content types - !5433 giochannel: Annotate nullable line output - !5435 gdesktopappinfo: Fix small leak on error paths - !5436 gdesktopappinfo: Check for relatively symlinked mimeapps.list - !5439 Update Slovenian translation - !5440 gsocket: Annotate nullable sender addresses - !5441 gsettingsbackend: Annotate nullable flattened path - !5442 gutf8: Annotate UCS-4 conversion results as arrays - !5444 gthread: Use thread_switch for g_thread_yield on GNU Hurd - !5446 tests: Add a performance regression test for g_thread_yield() - !5451 Remove all tab characters from source files - !5453 Avoid setting TCP_NODELAY on AF_UNIX sockets. - !5454 OpenBSD: account for IP_RECVTOS not being available - !5455 g_unix_fd_query_path: return NULL on OpenBSD - !5456 Use g_strconcat for Concatenating Strings in Loops - !5458 gkeyfile: Fix -Wsign-conversion warnings - !5461 gquark: Fix data race in G_DEFINE_QUARK - !5462 gdesktopappinfo: Fix a minor leak in an unlikely branch - !5463 Update Slovenian translation - !5464 tests: Fix tab in string literal in gdatetime tests - !5465 Check size_t using specific pointer warning - !5466 gdesktopappinfo: Quote field codes for the quotes they are in - !5468 gcharset: Reformat docs and clarify locale format in documentation - !5469 gwin32inputstream: Read a Windows file stream from where it is, not from its start - !5470 gdbus: Support EXTERNAL and same-user checks for Windows AF_UNIX peers - !5472 glocalfileinfo: Handle g_checksum_new() returning NULL - !5477 Add British English translation - !5478 gpoll-win32: Avoid redundant recursive poll when last handle is ready - !5479 gio/gresource: use gvdb_table_list_with_hash() for enumeration - !5480 gdocumentportal: Percent-encode document portal URIs - !5481 Update Romanian translation - !5483 gdbusmessage: write headers directly into message blobs - !5484 gthreadpool: synchronize idle registration with wakeups - !5485 gdbus: Check the permissions of the D-Bus keyring directory on Windows - !5487 tests: Fix Windows CI test failures - !5491 tests: Fix assert-msg-test on UCRT and module-test in static-only builds - !5492 gprintf: Write Windows console output with an explicit length - !5493 gutf8: Fix resync after invalid bytes before non-BMP characters - !5495 gdbusobjectproxy: Fix getter annotation for g-connection - !5502 fuzzing: Add fuzz tests for GDesktopAppInfo and _g_win32_expand_application_parameters() - !5504 gdbusauth: Don't wait forever when the client rejects the server's data - !5505 gdbusdaemon: Fix use after free and leaks when the daemon is destroyed - !5506 gbitlock: fix GOTO_ASM clobber - !5507 ci: Temporarily disable msys2-clang64 CI - !5516 gappinfo: Update GAppInfoMonitor documentation - !5517 CI: Drop ccache for MSYS2-MINGW32 job - !5519 gdbusprivate, gspawn-posix: Add a couple of assertions to help the static analyser - !5520 gwin32appinfo: Fail to expand a command line with an empty program name - !5532 Update Slovenian translation - !5533 gscanner: Free the current and peeked token values when switching input - !5534 gzlibcompressor: Fail a flush into a too small buffer with NO_SPACE - !5535 grand: Avoid signed overflow computing the range in g_rand_int_range() - !5541 Update Slovenian translation - !5543 gzlibcompressor: Simplify g_zlib_compressor_set_file_info() - !5544 giowin32-private: Mark an assertion variable as unused - Georgian (Ekaterine Papava) - Romanian (Antonio Marin) - Slovenian (Martin) 2.90.2 * Various security fixes * Bugs fixed: - #4032 (CVE-2026-102038) Windows Argument Injection in GWin32AppInfo via Post-Quote Backslash Rewriting (Ana Bobillo) - #4071 Stack buffer overflow in GRegex (Benjamin Otte) - #4078 Deadlock getting various singletons during `GNetworkMonitorNetlink.can_reach_async()` with `GProxyResolverGnome` (Thomas Hebb) - #4100 GDBus client authentication can exhaust memory on unterminated peer input (Nieves Montero Fernandez) - #4102 gdbus-auth test intermittently fails with socket error (Nieves Montero Fernandez) - #4110 Buffer overflow in g_unix_socket_address_to_native (Benjamin Otte) - #4128 gdbus-server-auth test uses uninitialised memory under valgrind (Philip Withnall) - !5396 Backport !5395 “gtimezone: Fix leak of TimeZoneKeyName buffer on Windows” to glib-2-90 - !5402 Backport !5399 “gmessages: Fix an unused variable warning” to glib-2-90 - !5411 Update Portuguese translation - !5430 Backport !5427 “win32: Fix leak of the new name in file monitor renames” to glib-2-90 - !5437 Backport !5436 “gdesktopappinfo: Check for relatively symlinked mimeapps.list” to glib-2-90 - !5443 Backport !5438 and !5447 “gdbusauth: bound client authentication line length” to glib-2-90 - !5445 Backport !5444 “gthread: Only use nanosleep for g_thread_yield on select kernels” to glib-2-90 - !5459 Backport !5453 “Avoid setting TCP_NODELAY on AF_UNIX sockets.” to glib-2-90 - !5460 Backport !5418 “gnetworkmonitornetlink: Avoid deadlock by creating enumerator directly in can_reach_async()” to glib-2-90 - !5474 Backport !5473 “unixsocketaddress: Don't use strcpy()” to glib-2-90 - !5476 Update British English translation - !5494 Update Indonesian translation - !5496 Backport !5493 “gutf8: Fix resync after invalid bytes before non-BMP characters” to glib-2-90 - !5498 Backport !5426 “gdbus: bound received UNIX FDs and reject unnegotiated passing” to glib-2-90 - !5499 Backport !5480 “gdocumentportal: Percent-encode document portal URIs” to glib-2-90 - !5500 Backport !5423 “gregex: Fix thinko in branch condition” to glib-2-90 - !5501 Backport !5449 and !5466: gwin32appinfo and gdesktopappinfo: Various field codes quoting fixes to glib-2-90 - !5509 Backport !5507 “ci: Temporarily disable msys2-clang64 CI” to glib-2-90 - !5510 Backport !5506 “gbitlock: fix GOTO_ASM clobber” to glib-2-90 - !5514 Backport !5512 “gdbusconnection: use-after-free in property calls to unregistered objects and to subtrees” to glib-2-90 - !5515 Backport !5513 “test-msys2.sh: Adapt for change in package name (python3 => python)” to glib-2-90 - !5518 Backport !5517 “CI: Drop ccache for MSYS2-MINGW32 job” to glib-2-90 - !5538 Update Portuguese translation * Translation updates: - English (United Kingdom) (Bruce Cowan) - Indonesian (Herpiko Dwi Aguno) - Portuguese (Hugo Carvalho) Signed-off-by: Adolf Belka --- config/rootfiles/common/glib | 16 ++++++++-------- lfs/glib | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/rootfiles/common/glib b/config/rootfiles/common/glib index 08a9a8cf5..b23f26d14 100644 --- a/config/rootfiles/common/glib +++ b/config/rootfiles/common/glib @@ -339,22 +339,22 @@ usr/include/glib-2.0/gio/gdebugcontroller.h #usr/lib/glib-2.0/include/glibconfig.h #usr/lib/libgio-2.0.so usr/lib/libgio-2.0.so.0 -usr/lib/libgio-2.0.so.0.9000.1 +usr/lib/libgio-2.0.so.0.9100.0 #usr/lib/libgirepository-2.0.so usr/lib/libgirepository-2.0.so.0 -usr/lib/libgirepository-2.0.so.0.9000.1 +usr/lib/libgirepository-2.0.so.0.9100.0 #usr/lib/libglib-2.0.so usr/lib/libglib-2.0.so.0 -usr/lib/libglib-2.0.so.0.9000.1 +usr/lib/libglib-2.0.so.0.9100.0 #usr/lib/libgmodule-2.0.so usr/lib/libgmodule-2.0.so.0 -usr/lib/libgmodule-2.0.so.0.9000.1 +usr/lib/libgmodule-2.0.so.0.9100.0 #usr/lib/libgobject-2.0.so usr/lib/libgobject-2.0.so.0 -usr/lib/libgobject-2.0.so.0.9000.1 +usr/lib/libgobject-2.0.so.0.9100.0 #usr/lib/libgthread-2.0.so usr/lib/libgthread-2.0.so.0 -usr/lib/libgthread-2.0.so.0.9000.1 +usr/lib/libgthread-2.0.so.0.9100.0 #usr/lib/pkgconfig/gio-2.0.pc #usr/lib/pkgconfig/gio-unix-2.0.pc #usr/lib/pkgconfig/girepository-2.0.pc @@ -377,8 +377,8 @@ usr/lib/libgthread-2.0.so.0.9000.1 #usr/share/gdb/auto-load #usr/share/gdb/auto-load/usr #usr/share/gdb/auto-load/usr/lib -#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.9000.1-gdb.py -#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.9000.1-gdb.py +#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.9100.0-gdb.py +#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.9100.0-gdb.py #usr/share/gettext/its #usr/share/gettext/its/gschema.its #usr/share/gettext/its/gschema.loc diff --git a/lfs/glib b/lfs/glib index 0a5d18322..b438131f8 100644 --- a/lfs/glib +++ b/lfs/glib @@ -24,7 +24,7 @@ include Config -VER = 2.90.1 +VER = 2.91.0 # https://download.gnome.org/sources/glib/ THISAPP = glib-$(VER) @@ -41,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 97858d88b5dfb0f6d081b59dec5e6e3c96680fc72d53d3389f07cc36c8c18a2b5b9ac7af943db8294376be496932f5fe75e42f0f4747c2cd88056ba505dba073 +$(DL_FILE)_BLAKE2 = 182a61a1b0161e5d78a1e1d91960575912a23894398d74d82a709829b35b430f04159d970647853853737f474bc47621c08722d8224f7e52d7d259a6d8bd17de install : $(TARGET)