summaryrefslogtreecommitdiffstats
path: root/src/file_dad.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-10-11 15:17:52 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-10-11 15:17:52 +0200
commit8011d8233149fb76834d494ebde502066fdac1c4 (patch)
treef1b7d10768d0ccea4ab56b9240ae8781de610a1c /src/file_dad.c
parent480fea322f889ea600c2aa4c78fecfb834b93cdc (diff)
PhotoRec: relax .dad filesize detection
Diffstat (limited to 'src/file_dad.c')
-rw-r--r--src/file_dad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_dad.c b/src/file_dad.c
index 5ce0db1..fb99bc4 100644
--- a/src/file_dad.c
+++ b/src/file_dad.c
@@ -89,7 +89,7 @@ static int header_check_dad(const unsigned char *buffer, const unsigned int buff
if(file_recovery_new->blocksize >= 16)
{
file_recovery_new->data_check=&data_check_dad;
- file_recovery_new->file_check=&file_check_size;
+ file_recovery_new->file_check=&file_check_size_lax;
}
return 1;
}