Fixed computation of runlists

N2009_11_14_FIXES
jpandre 2009-02-12 16:51:52 +00:00
parent 2dc7362ba9
commit 8191533495
1 changed files with 1 additions and 1 deletions

View File

@ -1315,7 +1315,7 @@ int ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol,
rl++;
}
/* Do the full runs. */
for (; rl->length && (rls < max_size); rl++) {
for (; rl->length && (rls <= max_size); rl++) {
if (rl->length < 0 || rl->lcn < LCN_HOLE)
goto err_out;
/* Header byte + length. */