Minor off by one bug fix.

(Logical change 1.390)
edge.strict_endians
cantab.net!aia21 2004-05-11 09:21:24 +00:00
parent 7ecb829f8f
commit dd001233ff
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ int main(int argc, char **argv)
"corrupt: Update sequence array overlaps "
"restart page header. Cannot handle this "
"yet.\n");
if (usa_end_ofs >= NTFS_SECTOR_SIZE - sizeof(u16))
if (usa_end_ofs > NTFS_SECTOR_SIZE - sizeof(u16))
log_err_exit(buf, "Restart page header in $LogFile is "
"corrupt: Update sequence array overlaps or "
"is behind first protected sequence number. "