git: NFS - Fix panic if the readdir base offset is beyond the directory EOF

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 8 14:34:52 PDT 2009


commit c0b6e0f5ae8831878d11646c6bd9dc4fec703029
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 8 14:31:20 2009 -0700

    NFS - Fix panic if the readdir base offset is beyond the directory EOF
    
    * A calculation could cause an signed underflow into unsigned if
      the base offset in a getdirentries call exceeds the directory
      EOF offset.

Summary of changes:
 sys/vfs/nfs/nfs_bio.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c0b6e0f5ae8831878d11646c6bd9dc4fec703029


-- 
DragonFly BSD source repository





More information about the Commits mailing list