From owner-cvs-all@FreeBSD.ORG Fri Jan 9 22:30:38 2004 Return-Path: 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 DEC7316A4CE; Fri, 9 Jan 2004 22:30:38 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2667C43D2F; Fri, 9 Jan 2004 22:30:38 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0A6Ub0B021426; Fri, 9 Jan 2004 22:30:37 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0A6Ubfu021425; Fri, 9 Jan 2004 22:30:37 -0800 (PST) (envelope-from tjr) Message-Id: <200401100630.i0A6Ubfu021425@repoman.freebsd.org> From: "Tim J. Robbins" Date: Fri, 9 Jan 2004 22:30:37 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/usr.bin/sed process.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 06:30:39 -0000 tjr 2004/01/09 22:30:37 PST FreeBSD src repository Modified files: (Branch: RELENG_4) usr.bin/sed process.c Log: MFC rev. 1.32: Change the buffer length test in NEEDSP() so that it does not subtract one unsigned number from another potentially smaller one, leading to wraparound (and heap corruption, eventually). PR: 58813 Revision Changes Path 1.10.2.11 +2 -1 src/usr.bin/sed/process.c