From owner-cvs-all Sat Oct 12 18:18:35 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 87FF737B401; Sat, 12 Oct 2002 18:18:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2183743ECD; Sat, 12 Oct 2002 18:18:34 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9D1IYCo085868; Sat, 12 Oct 2002 18:18:34 -0700 (PDT) (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9D1IXhC085867; Sat, 12 Oct 2002 18:18:33 -0700 (PDT) Message-Id: <200210130118.g9D1IXhC085867@freefall.freebsd.org> From: Kris Kennaway Date: Sat, 12 Oct 2002 18:18:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/patch common.h patch.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 kris 2002/10/12 18:18:33 PDT Modified files: gnu/usr.bin/patch common.h patch.c Log: 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. MFC after: 1 week Revision Changes Path 1.9 +3 -0 src/gnu/usr.bin/patch/common.h 1.21 +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