Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 22:51:15 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c
Message-ID:  <201004182251.o3IMpahW000299@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2010-04-18 22:51:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/fs/nfsserver     nfs_nfsdport.c 
  Log:
  SVN rev 206821 on 2010-04-18 22:51:15Z by rmacklem
  
  MFC: r206170
  Harden the experimental NFS server a little, by adding extra checks
  in the readdir functions for non-positive byte count arguments.
  For the negative case, set it to the maximum allowable, since it
  was actually a large positive value (unsigned) on the wire.
  Also, fix up the readdir function comment a bit.
  
  Revision  Changes    Path
  1.15.2.7  +11 -12    src/sys/fs/nfsserver/nfs_nfsdport.c



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