Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 11:44:59 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_mchain.c
Message-ID:  <200210221844.g9MIixwM023749@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <kalts@estpak.ee>
  
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210221844.g9MIixwM023749>