Fix endiannes bug in libntfs/index.c. (Anton)

edge.strict_endians
antona 2005-10-16 00:07:14 +00:00
parent 85c866fcea
commit a570ee7b37
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ xx/xx/2005 - 1.12.2-WIP
- Fix endianness bug (le16 instead of le32 when accessing mft record
bytes_in_use) in volume.c::ntfs_volume_write_flags() and
ntfsfix.c::OLD_ntfs_volume_set_flags(). (Anton)
- Fix endianness bug in ntfsinfo. (Anton)
- Fix endianness bugs in ntfsinfo. (Anton)
- Fix endianness bug in libntfs/index.c. (Anton)
10/10/2005 - 1.12.1 - Minor fix to location of mount.ntfs-fuse and mkfs.ntfs.

View File

@ -207,7 +207,7 @@ int ntfs_index_lookup(const void *key, const int key_len,
le16_to_cpu(actx->attr->value_offset));
index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length);
/* Save index block size for future use. */
ictx->block_size = ir->index_block_size;
ictx->block_size = le32_to_cpu(ir->index_block_size);
/* Get collation rule type and validate it. */
cr = ir->collation_rule;
if (!ntfs_is_collation_rule_supported(cr)) {