diff --git a/CHANGES.txt b/CHANGES.txt index 0651b5cb679b3bd26b517e8e603181821ff9cfbf..2d78efca3a6baa1d3c7d21af610e64d21e94dceb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -28,6 +28,10 @@ to meta type). (Bug: 2389901). Reported by Barry Grundy. 1/12/09: Bug Fix: Fixed ISO9660 bug where large directory contents were not displayed. (Bug: 2503552). Reported by Tom Black. +1/24/09: Bug Fix: Fixed bug 2534449 where extra NTFS files were +shown if the MFT address was changed to 0 because fs_dir_add was +checking the address and name. Reported by Andy Bontoft. + ---------------- VERSION 3.0.0 -------------- 0/00/00: Update: Many, many, many API changes. diff --git a/tsk3/fs/fs_dir.c b/tsk3/fs/fs_dir.c index 6e1e741d180980c05602afbe6f5c9140e4dc20c1..ce2cd4c21e482e446c5e41cd12c23df371bef883 100644 --- a/tsk3/fs/fs_dir.c +++ b/tsk3/fs/fs_dir.c @@ -102,8 +102,7 @@ tsk_fs_dir_add(TSK_FS_DIR * a_fs_dir, const TSK_FS_NAME * a_fs_name) // see if we already have it in the buffer / queue for (i = 0; i < a_fs_dir->names_used; i++) { - if ((a_fs_name->meta_addr == a_fs_dir->names[i].meta_addr) && - (strcmp(a_fs_name->name, a_fs_dir->names[i].name) == 0)) { + if (strcmp(a_fs_name->name, a_fs_dir->names[i].name) == 0) { /* We do not check type because then we cannot detect NTFS orphan file * duplicates that are added as "-/r" while a similar entry exists as "r/r"