From owner-cvs-all Fri Feb 14 21:33:44 2003 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 C5D9C37B401; Fri, 14 Feb 2003 21:33:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D5F43F85; Fri, 14 Feb 2003 21:33:42 -0800 (PST) (envelope-from kris@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 h1F5Xgbv037937; Fri, 14 Feb 2003 21:33:42 -0800 (PST) (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1F5XgP2037936; Fri, 14 Feb 2003 21:33:42 -0800 (PST) Message-Id: <200302150533.h1F5XgP2037936@repoman.freebsd.org> From: Kris Kennaway Date: Fri, 14 Feb 2003 21:33:42 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/patch common.h patch.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 kris 2003/02/14 21:33:42 PST Modified files: (Branch: RELENG_4) gnu/usr.bin/patch common.h patch.c Log: MFC: Prevent stack-smashing buffer overflows in -D and -r options by using buffer-safe string functions. The rest of the code is still probably unsafe. Revision Changes Path 1.7.2.2 +3 -0 src/gnu/usr.bin/patch/common.h 1.16.2.4 +7 -6 src/gnu/usr.bin/patch/patch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message