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

DragonFly-2.1.1.108.g46098a master sys/vfs/ntfs ntfs_vfsops.c


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Dec 2008 13:53:17 -0800 (PST)

commit 46098a9d0923033bb7fa4caa14ce5e1576bb2bb7
Author: Sascha Wildner <saw@online.de>
Date:   Sat Dec 20 22:52:06 2008 +0100

    Fix a dereference of an undefined value.
    
    ntmp was being accessed (via ntfs_bntodoff()) before it was allocated.
    The whole thing only worked because BBLOCK is 0 and the dereference was
    optimized away (though not with -O0).
    
    Found-by: LLVM/Clang Static Analyzer

Summary of changes:
 sys/vfs/ntfs/ntfs_vfsops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=46098a9d0923033bb7fa4caa14ce5e1576bb2bb7


-- 
DragonFly BSD source repository



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