Date: Fri, 18 May 2001 11:35:35 -0700 (PDT) From: Gregory Neil Shapiro <gshapiro@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/m4 eval.c Message-ID: <200105181835.f4IIZZx34189@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gshapiro 2001/05/18 11:35:35 PDT
Modified files:
usr.bin/m4 eval.c
Log:
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.
PR: bin/26619
Submitted by: Mark Peek <mark-ml@whistle.com>
MFC after: 5 days
Revision Changes Path
1.12 +9 -9 src/usr.bin/m4/eval.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105181835.f4IIZZx34189>
