From owner-cvs-all Thu May 24 13:52:21 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4BA4337B423; Thu, 24 May 2001 13:52:14 -0700 (PDT) (envelope-from gshapiro@FreeBSD.org) Received: (from gshapiro@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4OKqEV63196; Thu, 24 May 2001 13:52:14 -0700 (PDT) (envelope-from gshapiro) Message-Id: <200105242052.f4OKqEV63196@freefall.freebsd.org> From: Gregory Neil Shapiro Date: Thu, 24 May 2001 13:52:14 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/m4 eval.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gshapiro 2001/05/24 13:52:14 PDT Modified files: (Branch: RELENG_4) usr.bin/m4 eval.c Log: 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 Revision Changes Path 1.10.2.2 +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