Date: Sun, 9 Sep 2001 19:56:16 -0700 (PDT) From: <mp@FreeBSD.org> To: dsullivan@gaia.arc.nasa.gov, mp@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/30472: PD m4 (/usr/bin/m4) runs out of stack Message-ID: <200109100256.f8A2uG979269@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: PD m4 (/usr/bin/m4) runs out of stack State-Changed-From-To: open->closed State-Changed-By: mp State-Changed-When: Sun Sep 9 19:51:37 PDT 2001 State-Changed-Why: As Gregory Neil Shapiro <gshapiro@gshapiro.net> reminded me, this was fixed (after 4.3 was released) with this change: revision 1.10.2.2 date: 2001/05/24 20:52:13; author: gshapiro; state: Exp; lines: +9 -9 MFC: String operations could silently truncate long strings, leaving the output corrupted. Mark's patch fixes this be removing the MAXTOK limitation on substring operations and allowing the putback buffer size to be the limiting factor. If the putback buffer size if reached, m4 gives an error instead of silently truncating the string. Revision Changes Path 1.12 +9 -9 src/usr.bin/m4/eval.c http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30472 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109100256.f8A2uG979269>