search for: index_entry_end

Displaying 3 results from an estimated 3 matches for "index_entry_end".

2014 Jun 02
2
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...ir->index.entries_offset); + file->offset = ir->index.entries_offset; } idx_root_next_entry: if (readdir_state->in_idx_root) { - ie = (struct ntfs_idx_entry *)(uint8_t *)file->offset; - if (ie->flags & INDEX_ENTRY_END) { + ie = (struct ntfs_idx_entry *)((uint8_t *)&ir->index + file->offset); + if (ie->flags & INDEX_ENTRY_END) { file->offset = 0; readdir_state->in_idx_root = false; readdir_state->idx_blks_count = 1; @@ -1074,7 +107...
2012 Feb 15
0
[GIT PULL] NTFS features and fixes
...ls.c32 WINDOWS" but yes with "ls.c32 windows". - Fix ntfs_readdir() function that used to print garbage entries when calling ls.c32. This issue happened because ntfs_readdir() was printing filenames of entries that hadn't a filename associated with it, those entries that had INDEX_ENTRY_END flag set. ------------------------------------------------------------------------------------------------------------------------------------ The following changes since commit fbf2edffba00b0f16a2fab2a9f9d0f2a7d40d5b2: Merge remote-tracking branch 'pcacjr/mingw-ubuntu-prefix-for-hpa'...
2014 Jun 02
0
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...dex + - ir->index.entries_offset); + file->offset = ir->index.entries_offset; } idx_root_next_entry: if (readdir_state->in_idx_root) { - ie = (struct ntfs_idx_entry *)(uint8_t *)file->offset; - if (ie->flags & INDEX_ENTRY_END) { + ie = (struct ntfs_idx_entry *)((uint8_t *)&ir->index + file->offset); + if (ie->flags & INDEX_ENTRY_END) { file->offset = 0; readdir_state->in_idx_root = false; readdir_state->idx_blks_count = 1; @@ -1074,7 +1073...