From nobody Sun Feb 25 13:32:14 2024 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TjPmw1lWxz5BFqJ for ; Sun, 25 Feb 2024 13:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TjPmv3nVQz4Kw8 for ; Sun, 25 Feb 2024 13:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708867935; a=rsa-sha256; cv=none; b=f23IUikE3g3TUZ/YxsxDYF7lQQ27Bxy5mxO4V9DQGLwQOVOxMqExRUGccmKTPeezQ5u6T3 NisBS9DCmTMKClI8aN8Q0exH5Mf7Tf2Mt1pw6UxBk5pV9uo3YnRQuARtDbUIaPPqRQWXwg a6ysjrvmhUaY8sixFwEJnsejoO4B80yStA+keir2XTUvdlnoNcgyKuyH2JR1n0yolzVawq d8utTfGJEyebSo/qhbjkc0TCKMgi3w2zxqMjvTixYzv6y3tGkNJR2ol6dwv2+4CEO041HI 4MwqsuhXiB9EGK3Kr3gllOXduc0twBYF8wjY5q3CriBWukOJ+kn2DEpfpjCRKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708867935; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bVZgg25+gg36t9vCZlqEohZUnajrktfxauyFIwV1rO8=; b=NDIRtjBOM+lykQVsASp5h5HMOwexx9gs1poIFUpkzsWRiE1+5qtV66Pta0hL/VTVnn88x1 yVkLw/j0yu9CxPaBPBSP/0FGXlSvA4OUr0Up78i9eLV83z0QRGmq2d67gdiYs4jXlhMUWI d5skQcsbbNzt5y3pwmuRM0fDwucHaUrre1dWu7BvgstdcCcaoF8+3HYYCM6vfqrCoX3nSl Co4wTEtOYSfa8Zufhh8WZ+TNW4OSYqDGdrMw5urwgk/oelO96cMzBnZxWCZ2f8U68SwpzL AQ7jrhMRRNhnDgmlgdWdIAvtcGfnams+wXiWg4f0/5h+/yfN2wIcJ78clHfQ8A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TjPmv2vDbzmX4 for ; Sun, 25 Feb 2024 13:32:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41PDWF2u051624 for ; Sun, 25 Feb 2024 13:32:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41PDWFcZ051623 for haskell@FreeBSD.org; Sun, 25 Feb 2024 13:32:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 276478] Mk/*: Build with a clean environment Date: Sun, 25 Feb 2024 13:32:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276478 --- Comment #18 from Tijl Coosemans --- Created attachment 248731 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248731&action= =3Dedit textproc/mxml 3.3.1 textproc/mxml: Update to 3.3.1 Also add a patch to fix a bounds check problem: When writing XML data into a buffer a pointer is used to keep track of the current position. When the end of the buffer is reached the writing stops = but the pointer continues to be incremented to determine how many bytes would h= ave been written had the buffer been large enough. The problem is that the bou= nds check that stops the writing did not handle the case where a large amount of data causes the pointer to wrap around to 0. This can happen for example w= hen the buffer is allocated on the stack and the stack is close to the end of t= he address space. This should fix audio/zynaddsubfx. The new build environment is smaller, thereby causing the buffer mentioned above to be allocated closer to the en= d of the address space on FreeBSD i386. --=20 You are receiving this mail because: You are on the CC list for the bug.=