DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.227.g62d33a0 master sbin/fsck_msdosfs fat.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 03:01:58 -0800 (PST)

commit 62d33a05b33e52cac8d86a93b81df3c5698f0c5f
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Wed Feb 18 11:57:53 2009 +0100

    fsck_msdosfs: check next cluster index for validity before using it
    
    The boot->FSNext index can wind up to be out of range, thus leading to a
    segfault when trying to check whether it is pointing to a free cluster.
    Check for it being in range before using it as an index into the fat
    array.

Summary of changes:
 sbin/fsck_msdosfs/fat.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62d33a05b33e52cac8d86a93b81df3c5698f0c5f


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]