libffi: Update to version 3.8.2

Message ID 20261127143322.3795112-12-adolf.belka@ipfire.org
State New
Headers
Series libffi: Update to version 3.8.2 |

Commit Message

Adolf Belka 27 Nov 2026, 2:33 p.m. UTC
- 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 <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libffi | 2 +-
 lfs/libffi                     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
  

Patch

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)