From owner-cvs-src Sat Mar 22 1:23:34 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6429437B401; Sat, 22 Mar 2003 01:23:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01D9843F3F; Sat, 22 Mar 2003 01:23:30 -0800 (PST) (envelope-from keramida@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 h2M9NT0U012900; Sat, 22 Mar 2003 01:23:29 -0800 (PST) (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2M9NTRP012899; Sat, 22 Mar 2003 01:23:29 -0800 (PST) Message-Id: <200303220923.h2M9NTRP012899@repoman.freebsd.org> From: Giorgos Keramidas Date: Sat, 22 Mar 2003 01:23:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/gstat gstat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG keramida 2003/03/22 01:23:29 PST FreeBSD src repository (doc committer) Modified files: usr.sbin/gstat gstat.c Log: Add error and range checking to strtoul() to avoid ending up with a delay time of ULONG_MAX when -I is passed a non-numeric arg. Revision Changes Path 1.3 +2 -1 src/usr.sbin/gstat/gstat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message