summaryrefslogtreecommitdiffstats
path: root/src/file_indd.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:15:21 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:15:21 +0100
commitfe85fa7807957b5ede984ba351020ab96c47504a (patch)
treea94003d239c26ce03d0b96a0c85d8f14b4e7f016 /src/file_indd.c
parent78380d72f73557646907bd7f92e6e7d5fd68a1af (diff)
PhotoRec: ignore indd header/magic value if already recovering an indd file
Diffstat (limited to 'src/file_indd.c')
-rw-r--r--src/file_indd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_indd.c b/src/file_indd.c
index 6c4bb8f..0fcea43 100644
--- a/src/file_indd.c
+++ b/src/file_indd.c
@@ -122,8 +122,7 @@ static int header_check_indd(const unsigned char *buffer, const unsigned int buf
if(le32(hdr->fFilePages)==0)
return 0;
if(file_recovery->file_stat!=NULL &&
- file_recovery->file_stat->file_hint==&file_hint_indd &&
- file_recovery->file_size <= 8192)
+ file_recovery->file_stat->file_hint==&file_hint_indd)
{
if(header_ignored_adv(file_recovery, file_recovery_new)==0)
return 0;