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.204.g463f2c master lib/libstand hammerread.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Dec 2008 12:26:28 -0800 (PST)

commit 463f2cb11593931f1a7f29a13e8a1bf9fb9ecba6
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Dec 29 12:24:23 2008 -0800

    Properly use HAMMER_BUFMASK64 when taking the complement.
    
    Fix an overflow check which ensures that the copied data is within the
    aligned 16K buffer returned by hread().  boff was not being taken into
    account.

Summary of changes:
 lib/libstand/hammerread.c |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



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