From owner-cvs-all Tue Oct 22 11:45:35 2002 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 093F337B401; Tue, 22 Oct 2002 11:45:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7F443E3B; Tue, 22 Oct 2002 11:45:34 -0700 (PDT) (envelope-from jhb@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 g9MIixmV023750; Tue, 22 Oct 2002 11:44:59 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9MIixwM023749; Tue, 22 Oct 2002 11:44:59 -0700 (PDT) Message-Id: <200210221844.g9MIixwM023749@repoman.freebsd.org> From: John Baldwin Date: Tue, 22 Oct 2002 11:44:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mchain.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/10/22 11:44:59 PDT Modified files: sys/kern subr_mchain.c Log: Don't dereference the 'x' pointer if it is NULL, instead skip the assignment. The netsmb code likes to call these functions with a NULL x argument a lot. Reported by: Vallo Kallaste Revision Changes Path 1.9 +12 -6 src/sys/kern/subr_mchain.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message