From owner-cvs-all@FreeBSD.ORG Sun Jul 11 15:22:43 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 B32B616A4CE; Sun, 11 Jul 2004 15:22:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94EC343D2F; Sun, 11 Jul 2004 15:22:43 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6BFMhHM075953; Sun, 11 Jul 2004 15:22:43 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6BFMhVG075952; Sun, 11 Jul 2004 15:22:43 GMT (envelope-from marcel) Message-Id: <200407111522.i6BFMhVG075952@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 11 Jul 2004 15:22:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_kdb.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: Sun, 11 Jul 2004 15:22:43 -0000 marcel 2004-07-11 15:22:43 UTC FreeBSD src repository Modified files: sys/kern subr_kdb.c Log: Fix braino: Make sure there is a current backend before we return its name in the debug.kdb.current sysctl. All other dereferences are properly guarded, but this one was overlooked. Reported by: Morten Rodal (morten at rodal dot no) Revision Changes Path 1.2 +5 -2 src/sys/kern/subr_kdb.c