From owner-cvs-src@FreeBSD.ORG Sun Feb 22 01:58:34 2004 Return-Path: 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 D759D16A4CE; Sun, 22 Feb 2004 01:58:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC41443D1F; Sun, 22 Feb 2004 01:58:34 -0800 (PST) (envelope-from cperciva@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 i1M9wYGe021782; Sun, 22 Feb 2004 01:58:34 -0800 (PST) (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1M9wYkh021781; Sun, 22 Feb 2004 01:58:34 -0800 (PST) (envelope-from cperciva) Message-Id: <200402220958.i1M9wYkh021781@repoman.freebsd.org> From: Colin Percival Date: Sun, 22 Feb 2004 01:58:34 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/twe twe_freebsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 09:58:35 -0000 cperciva 2004/02/22 01:58:34 PST FreeBSD src repository Modified files: sys/dev/twe twe_freebsd.c Log: Check that twed_sc is non-NULL before dereferencing it, not after. Reported by: "Ted Unangst" Approved by: rwatson (mentor) Revision Changes Path 1.35 +2 -2 src/sys/dev/twe/twe_freebsd.c