git: kernel - Fix NULL pointer dereference on forced unmount

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 29 13:54:16 PDT 2010


commit 1e49b98c24fe6d4737f144108ae1898b6c977757
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 29 13:52:11 2010 -0700

    kernel - Fix NULL pointer dereference on forced unmount
    
    * Forced unmounts forcefully remove vnodes from a mount but failed
      to reassociate those vnodes with a dummy mount.  Reassociate the
      vnodes with a dummy mount to avoid a NULL pointer dereference.
    
    Reported-by: Saifi Khan <saifi.khan at datasynergy.org>

Summary of changes:
 sys/kern/vfs_mount.c |   22 +++++++---------------
 1 files changed, 7 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e49b98c24fe6d4737f144108ae1898b6c977757


-- 
DragonFly BSD source repository





More information about the Commits mailing list