summaryrefslogtreecommitdiffstats
path: root/src/file_qdf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-09-30 16:27:05 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-09-30 16:27:05 +0200
commit8a5bc214d7b52627aad61a243140e6a7f0987ace (patch)
tree1986c3e7ca4c389572ca9d8279d33b179fc5008f /src/file_qdf.c
parente50fae5d6b1b0d83a5c351ab80d0ce661136ecec (diff)
PhotoRec: check doc/OLE files when a new file is found
Diffstat (limited to 'src/file_qdf.c')
-rw-r--r--src/file_qdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_qdf.c b/src/file_qdf.c
index 2c1d162..5f5e80d 100644
--- a/src/file_qdf.c
+++ b/src/file_qdf.c
@@ -48,8 +48,8 @@ static int header_check_qdf(const unsigned char *buffer, const unsigned int buff
file_recovery->file_stat->file_hint==&file_hint_doc &&
strstr(file_recovery->filename, ".qdf-backup")!=NULL)
{
- header_ignored(file_recovery_new);
- return 0;
+ if(header_ignored_adv(file_recovery, file_recovery_new)==0)
+ return 0;
}
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_qdf.extension;