summaryrefslogtreecommitdiffstats
path: root/src/exfat_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:15:30 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-21 19:15:30 +0200
commitf6e46f431db24343684cb9ce3e4feb4fcb71c292 (patch)
tree99ad6416a0725fcf23d3012417db7244db8a5077 /src/exfat_dir.c
parent95bc549bb15221c86c6e2693018970b2436bb2e0 (diff)
Fix listing of exFAT subdirectories
Diffstat (limited to 'src/exfat_dir.c')
-rw-r--r--src/exfat_dir.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/exfat_dir.c b/src/exfat_dir.c
index 5787cd3..54b154d 100644
--- a/src/exfat_dir.c
+++ b/src/exfat_dir.c
@@ -227,11 +227,6 @@ static file_data_t *exfat_dir(disk_t *disk, const partition_t *partition, dir_da
log_error("exFAT: Can't read directory cluster.\n");
stop=1;
}
- if(stop==0 && nbr_cluster==0 && first_cluster!=0 &&
- !(buffer_dir[0]=='.' && buffer_dir[0x20]=='.' && buffer_dir[0x21]=='.'))
- {
- stop=1;
- }
if(stop==0)
{
if(exfat_meth==exFAT_FOLLOW_CLUSTER)