Date: Sun, 25 Feb 2024 13:32:14 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 276478] Mk/*: Build with a clean environment Message-ID: <bug-276478-14331-RwB7EjIQu1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276478-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-276478-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276478 --- Comment #18 from Tijl Coosemans <tijl@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276478-14331-RwB7EjIQu1>