git: DragonFly_RELEASE_5_0 hammer2 - Fix divide by 0 race

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 6 11:23:56 PST 2017


commit 32d6b0e1e31f850ffa61b6999b1d67bd45f95899
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 6 11:21:43 2017 -0800

    hammer2 - Fix divide by 0 race
    
    * Fix a statfs/statvfs race which can cause a divide-by-0.
    
    Reported-by: arcade at b1t.name

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 69 +++++++++++++++++++++-------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32d6b0e1e31f850ffa61b6999b1d67bd45f95899


-- 
DragonFly BSD source repository



More information about the Commits mailing list