Fix in relocate_attributes(): don't stop processing of MFT record attributes
at AT_DATA of $BadClus and $Bitmap. In practice, there aren't non-resident attributes after them so this recent bug shouldn't have caused data loss.edge.strict_endians
parent
e48bd91bbf
commit
f6c4797379
|
@ -1640,11 +1640,11 @@ static void relocate_attributes(ntfs_resize_t *resize)
|
|||
if (ret == -1)
|
||||
exit(1);
|
||||
else if (ret == 1)
|
||||
break;
|
||||
continue;
|
||||
|
||||
if (resize->mref == FILE_Bitmap &&
|
||||
resize->ctx->attr->type == AT_DATA)
|
||||
break;
|
||||
continue;
|
||||
|
||||
relocate_attribute(resize);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue