From owner-cvs-all Fri Nov 8 9: 1:14 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B82037B401; Fri, 8 Nov 2002 09:01:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BC8143E75; Fri, 8 Nov 2002 09:01:13 -0800 (PST) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA8GxBmV054107; Fri, 8 Nov 2002 08:59:11 -0800 (PST) (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA8GxBF3054105; Fri, 8 Nov 2002 08:59:11 -0800 (PST) Message-Id: <200211081659.gA8GxBF3054105@repoman.freebsd.org> From: Juli Mallett Date: Fri, 8 Nov 2002 08:59:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make var.c X-FreeBSD-CVS-Branch: HEAD 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 jmallett 2002/11/08 08:59:11 PST Modified files: usr.bin/make var.c Log: Convert some broken cases where Error is called, but we try to continue, to Fatal errors, because the logic that we use to try to continue is far too broken, and makes things look and act weird, because we end up pointing past the end of a buffer boundry into freed memory in the caller, as we don't come close to setting the lengthPtr to a sane value. Reviewed by: make@ (This only changes failure cases which would have died horrid deaths to explicit clean death failure cases.) Revision Changes Path 1.40 +5 -17 src/usr.bin/make/var.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message