From patchwork Fri Nov 27 14:33:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10874 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 4jbbWW24LBz3wh2 for ; Fri, 27 Nov 2026 14:33:43 +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 4jbbWV6sL6z6ly for ; Fri, 27 Nov 2026 14:33:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jbbWN04H4z32Y1 for ; Fri, 27 Nov 2026 14:33:36 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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 mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jbbWG4nbYz3780 for ; Fri, 27 Nov 2026 14:33:30 +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 4jbbWF2Q0kz71W; Fri, 27 Nov 2026 14:33:29 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795790009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lIBCW50dKOCclQ8sBS+dx6+066Q3Q8otvKHy53k9h0Y=; b=ipjsC0dVI4Ij6wIVYMWWpf03ARYQCaPyruw6gcy03sU1m6cPhMjT+dzN+y12FB2YeXASdH b6eA5EEwmNC13aBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795790009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lIBCW50dKOCclQ8sBS+dx6+066Q3Q8otvKHy53k9h0Y=; b=r80CeCJTFOr6sH4oobqHxo77VGlw6onYwHIUvSUWrevGD5MKVkMMj/7d4bAi0EFLz4mGlS fgMbk9r2zBUbt4yTzIyUteA53lOrxzWnhwN+nid7Ui1rIRO+yOydHa+Nte3F1kqA37iIUV IHv+gbi1MpXCiFHFtVEphZp99N/g7BWttCPFw+w0yniYPJFFU5GSS8K8U7bs2zGbjIgYhE ADJmbp04YpxcfaMERTsruD2m+ezeuyOSnLV+Q6WS0jUlZ6R2ga2reNKK5cuG6iYEiI7SiW QgxPilIvmewl+bRgzg2FWDYrwBG/G0bpXePcra+jpNat08mjBEakhTE8/w4PGA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libffi: Update to version 3.8.2 Date: Fri, 27 Nov 2026 15:33:17 +0100 Message-ID: <20261127143322.3795112-12-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 3,8,1 to 3.8.2 - Update of rootfile - 17 GHSA security fixes - Changelog 3.8.2 x86-64: reject vector types under the Win64 ABIs on non-Windows builds, as documented (GHSA-v9rw-6cxm-q6rf). CRIS: reject vector types (GHSA-j9pv-w354-7fg2). aarch64: reserve enough stack for large by-value structs mixed with 16-byte-aligned arguments (GHSA-wc36-xxj4-cxh5). Pass by-value aggregates aligned beyond the stack alignment correctly on x86-64, i386, ARM, MIPS, m88k and AArch64 (GHSA-rwpw-56v4-44r3). powerpc64 ELFv2: fix closures overwriting the caller's frame with float structs and _Complex arguments (GHSA-p8c7-j6j7-h7vg), and stop padding IBM long double aggregates (GHSA-34hv-975q-7p7w). RISC-V, LoongArch: fix one-float structs passed after the FP argument registers run out (GHSA-2xrh-7r9c-rwmf). Static trampolines: make the temporary code-table file immutable, so a forked child cannot rewrite its parent's closures (GHSA-7qx4-vhpx-x6qm). i386: fix ffi_raw_call argument placement and refuse raw closures with in-memory results (GHSA-qgq7-fxgw-wrp4, GHSA-64xf-g9qc-vf93). MIPS: fix O32 closures returning _Complex long long (GHSA-xh8m-x7vg-ww5m) and N32/N64 complex arguments at the end of the argument registers (GHSA-p8w7-v539-c775). Refuse oversized signatures instead of truncating them (GHSA-qpm4-52vm-3xff, GHSA-j4q2-5r23-67rj, GHSA-76jh-g582-v8x4). SPARC: fix ffi_call with a NULL rvalue for large struct results (GHSA-v569-599f-q4hr). AIX: make struct layout independent of prior ffi_prep_cif calls (GHSA-f45x-cg8q-3q9w). LoongArch: do not write to the result buffer of a void call (#1083). Signed-off-by: Adolf Belka --- config/rootfiles/common/libffi | 2 +- lfs/libffi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/libffi b/config/rootfiles/common/libffi index 6d6bb7b42..4ffb64b58 100644 --- a/config/rootfiles/common/libffi +++ b/config/rootfiles/common/libffi @@ -4,7 +4,7 @@ #usr/lib/libffi.la #usr/lib/libffi.so usr/lib/libffi.so.8 -usr/lib/libffi.so.8.5.1 +usr/lib/libffi.so.8.5.2 #usr/lib/pkgconfig/libffi.pc #usr/share/info/libffi.info #usr/share/man/man3/ffi.3 diff --git a/lfs/libffi b/lfs/libffi index 1205650e3..904d97433 100644 --- a/lfs/libffi +++ b/lfs/libffi @@ -24,7 +24,7 @@ include Config -VER = 3.8.1 +VER = 3.8.2 THISAPP = libffi-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 67a84bb411d4cdf6eb0d307c2b9e733f731f58780aa8f7d817b63605d0f8ac5e87224fffa212d6f560e38bed98a5ccc19f15fe54b74274da4f8908f55d6d4377 +$(DL_FILE)_BLAKE2 = cf42680a4ea6296b2676e178ee40d723705fe6cff85e431ca54d5f52b275b87a17756a47a3fa6eddc4e765f15450c768137313e68eb5433ce436d3cce491c1d8 install : $(TARGET)