Properly use HAMMER_BUFMASK64 when taking the complement.
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Dec 2008 20:24:23 +0000 (12:24 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Dec 2008 20:24:23 +0000 (12:24 -0800)
commit463f2cb11593931f1a7f29a13e8a1bf9fb9ecba6
tree28e06877fef8a5c21efeebebc9bb1a50e77a973d
parent90de3a351cfb9f4d73fee131932b8377905762ed
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.
lib/libstand/hammerread.c