DragonFly-2.1.1.204.g463f2c master lib/libstand hammerread.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Dec 29 12:27:25 PST 2008
commit 463f2cb11593931f1a7f29a13e8a1bf9fb9ecba6
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list