Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2006 20:21:15 +0000 (UTC)
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsserver nfs_srvsock.c
Message-ID:  <200603082021.k28KLGEC031256@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
simon       2006-03-08 20:21:15 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsserver        nfs_srvsock.c 
  Log:
  When parsing an RPC request in nfsrv_dorec(), KASSERT that there
  actually is an mbuf to process.  This catches the missing mbuf before it
  would otherwise causes a NULL pointer dereference, which could be
  triggered by a 0 length RPC record before the check for such records was
  added in rev 1.97.
  
  Approved by:    cperciva (mentor)
  
  Revision  Changes    Path
  1.98      +1 -0      src/sys/nfsserver/nfs_srvsock.c



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