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

git: DragonFly_RELEASE_2_6 Fix a panic in the __getcwd(2) syscall.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Aug 2010 02:20:42 -0700 (PDT)

commit 9562ff3c2758f7bf0bb3f89abc1401ab63791409
Author: Sascha Wildner <saw@online.de>
Date:   Sun Aug 8 11:19:09 2010 +0200

    Fix a panic in the __getcwd(2) syscall.
    
    buflen has to be unsigned so that large values do not become negative
    and sneak past the MAXPATHLEN check.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9562ff3c2758f7bf0bb3f89abc1401ab63791409


-- 
DragonFly BSD source repository



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