From owner-cvs-src-old@FreeBSD.ORG Sat Nov 7 21:46:52 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DFAF10656C4 for ; Sat, 7 Nov 2009 21:46:52 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2838FC1B for ; Sat, 7 Nov 2009 21:46:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nA7LkqU0073215 for ; Sat, 7 Nov 2009 21:46:52 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nA7Lkqrm073214 for cvs-src-old@freebsd.org; Sat, 7 Nov 2009 21:46:52 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <200911072146.nA7Lkqrm073214@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Sat, 7 Nov 2009 21:46:34 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/kdump kdump.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2009 21:46:52 -0000 attilio 2009-11-07 21:46:34 UTC FreeBSD src repository Modified files: usr.bin/kdump kdump.c Log: SVN rev 199024 on 2009-11-07 21:46:34Z by attilio Use a safety belt for cases where corrupted narg can be passed to the ktrsyscall(). print_number() does decrement the number of arguments, leading to infinite loops for negative values. Reported by: Patrick Lamaiziere , Jonathan Pascal Submitted by: jh PR: bin/120055, kern/119564 MFC: 1 week Revision Changes Path 1.46 +1 -1 src/usr.bin/kdump/kdump.c