From owner-cvs-all@FreeBSD.ORG Thu Apr 28 12:37:15 2005 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 9E61816A4CE; Thu, 28 Apr 2005 12:37:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C5B843D45; Thu, 28 Apr 2005 12:37:15 +0000 (GMT) (envelope-from robert@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3SCbFRO036469; Thu, 28 Apr 2005 12:37:15 GMT (envelope-from robert@repoman.freebsd.org) Received: (from robert@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3SCbFBr036468; Thu, 28 Apr 2005 12:37:15 GMT (envelope-from robert) Message-Id: <200504281237.j3SCbFBr036468@repoman.freebsd.org> From: Robert Drehmel Date: Thu, 28 Apr 2005 12:37:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/rs rs.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: Thu, 28 Apr 2005 12:37:15 -0000 robert 2005-04-28 12:37:15 UTC FreeBSD src repository Modified files: usr.bin/rs rs.c Log: - Set negative row or column argument values to zero. Negative values would produce undefined behaviour including a possible segmentation fault. - Explicitly initialize the global row and column variables to zero. PR: bin/80348 Revision Changes Path 1.13 +5 -3 src/usr.bin/rs/rs.c