git: hammer2 - Fix divide by 0 race

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


commit b2abc834cbc1df48c6049c2f766bdf2ff3001adc
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/b2abc834cbc1df48c6049c2f766bdf2ff3001adc


-- 
DragonFly BSD source repository



More information about the Commits mailing list