From patchwork Wed Nov 4 13:49:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10683 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 4jKRf44lskz3wp9 for ; Wed, 04 Nov 2026 13:50:20 +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 4jKRf06jD7z2S0 for ; Wed, 04 Nov 2026 13:50:16 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jKRdz51K7z377w for ; Wed, 04 Nov 2026 13:50:15 +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 4jKRds1Wp2z34nl for ; Wed, 04 Nov 2026 13:50:09 +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 4jKRdr2L3kz5vQ; Wed, 04 Nov 2026 13:50:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1793800208; 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=S6a6LebWZViL4gysybXWha8YwQCI9Z+yAgXEtaqSWD0=; b=pnmecJFyu3g300BRupZrRuJfJf489xvVsW3p4G2brSTCATS0npIloOLDJbA4soVUqQsnYK XbI7lXHr+cy5PrBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1793800208; 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=S6a6LebWZViL4gysybXWha8YwQCI9Z+yAgXEtaqSWD0=; b=u/T6qNLkOeAX+/wBzgX4wyYf182H1Z+/ajofmdE17b+TV7ubDl+vNbfCydxci0AAih5dxS ngn4/JSLJEV9+/cVduIE/CUhJXXWD20DzZ+9stEDsWNkhgIbmwt/x0JviTavrjLrQlrqeG tPv9ZI8Ch/OwF4fMybWg/Pjc7aIo+O3SkibiebN1CcBxYQs79GquOMBJ03OA0wn2x2QcCo qm+fAfYgS7Elt2yJS+WxSWVThtyAs+drBj+57NjOGNGCBIMLPqdx65M4q3AD73TeJQjjk6 iH+ylzeheh3bcU0bCDlXLeYxuARBzrdir/kMg1I7rzGtMWgeIYS0NSHHwyWP6w== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] fribidi: Update to version 1.0.18 Date: Wed, 4 Nov 2026 14:49:59 +0100 Message-ID: <20261104135004.2059527-7-adolf.belka@ipfire.org> In-Reply-To: <20261104135004.2059527-1-adolf.belka@ipfire.org> References: <20261104135004.2059527-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 1.0.17 to 1.0.18 - No change in rootfile - Although there are no CVE's specified, the changelog does mention security fixes coming from an automated Anthropic OSS Scanner. - Changelog 1.0.18 * Security and robustness fixes found by an automated scan (Anthropic's OSS Scanner): - fribidi_remove_bidi_marks(): fixed an out-of-bounds write before the caller's map when the position maps returned by one call are passed to a second call. The maps it returns are now correct, and removed characters are -1. - Fixed unchecked memory allocations in fribidi_reorder_line(), fribidi_log2vis() and the bracket pairing code, which could crash when memory ran out instead of returning failure. - Fixed an out-of-bounds read in the CapRTL decoder on platforms where plain char is unsigned (e.g. aarch64, arm, ppc64le, s390x). - Fixed quadratic running time on paragraphs made of many back-to-back isolates, and on deeply nested isolates containing brackets (N0). * Fixed a stack buffer overflow in the CapRTL/UTF-8 output of fribidi and fribidi-caprtl2utf8, and an integer overflow in the run-pool allocation on 32-bit platforms. * Fixed paragraph direction detection to reset isolates at paragraph boundaries. * Bidi fixes to match UAX #9 more closely. These can change the output for unusual input: - Overflow isolates are no longer treated as valid isolates (X5a-X5c), and PDF handling checks the overflow counts first (X7). - Bracket pairs (BD16/N0) no longer pair across isolates, and a full bracket stack no longer stops pairing outside its isolating run sequence. * fribidi_unicode_to_charset() now null-terminates the output for an unknown character set. * Added regression tests and a fuzzing seed. Signed-off-by: Adolf Belka --- lfs/fribidi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/fribidi b/lfs/fribidi index f215cc0ce..29e43050e 100644 --- a/lfs/fribidi +++ b/lfs/fribidi @@ -24,7 +24,7 @@ include Config -VER = 1.0.17 +VER = 1.0.18 THISAPP = fribidi-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 5e2fdef3c47e12af85b2e8d7a9d421a3e9a0f1a92e36bee267a45960c8f3cdc0628011d301d9f0f02ce68bf7007ad14fa4520a41da4a8e3d09483b5e50e83a57 +$(DL_FILE)_BLAKE2 = 7e4d34e860ae46ee3ed1c9096903981a88f515fbb175d8e7f924a6053f86942d549101990e1c05dcf3fdd4a4b65efae7831a2e7f99cb7bfcc5d7ab9b5c4f2137 install : $(TARGET)