🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #793

Bug#1139550: marked as pending in terraphast

#793
From: Andreas Tille
Date: Sat, 17 Oct 2026 17:20
31 lines
3080 bytes
Control: tag -1 pending

Hello,

Bug #1139550 in terraphast reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/terraphast/-/commit/ed32ca4ddd5f632b1ca2346e06a608920e01fa57

------------------------------------------------------------------------
Fix heap corruption when the multitree memory limit is reached (Closes: #1139550)

When the multitree memory limit is hit, begin_iteration() returns an
unexplored node because the alternative array could not be allocated, but
continue_iteration() still returned true (the memory accounting was below
the limit).  The iteration loop then called accumulate() on the unexplored
node, writing a full multitree_node (including a GMP big_integer) into the
leaf array of the unexplored node.  This corrupted the heap and could
abort with a 'realloc(): invalid pointer' inside GMP, making the unittests
fail randomly (FTBFS).

Mark the memory limit as hit whenever begin_iteration() has to fall back
to an unexplored node so that continue_iteration() stops the iteration.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1139550
Technical Details
Message-ID: <NPgeB-6aPm-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <N437Y-bvFZ-11@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Andreas Tille <noreply@salsa.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1139550: marked as pending in terraphast
Date: Sat, 17 Oct 2026 19:20:01 +0200
Message-ID: <NPgeB-6aPm-1@gated-at.bofh.it>
References: <N437Y-bvFZ-11@gated-at.bofh.it>
X-Original-To: 1139550-submitter@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 17 17:17:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: 1139550@bugs.debian.org,  Andreas Tille <tille@debian.org>, 1139550-quiet@bugs.debian.org
Original-Sender: noreply@salsa.debian.org
Resent-To: Santiago Vila <sanvila@debian.org>
X-Debian-Pr-Message: report 1139550
X-Debian-Pr-Package: src:terraphast
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: terraphast
Sender: robomod@news.nic.it
MIME-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Auto-Submitted: auto-generated
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834797
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
X-Original-Date: Sat, 17 Oct 2026 17:16:16 +0000
X-Original-Message-ID: <6ad3ad6092f9c_61e104028730@godard.mail>
X-Original-References: <E1wWut4-00Au1g-1a@paradis.debian.org>
X-Original-Sender: noreply@salsa.debian.org