summaryrefslogtreecommitdiffstats
path: root/src/file_raf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-02-25 14:04:26 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2016-02-25 14:04:26 +0100
commitfb8c132b70aec83c1a7cefcbe52e1d31ff0b109c (patch)
tree825513d96d3c61a618c072bfb89f6d78569a001a /src/file_raf.c
parentcc7f97cd2931bf65f68754031681f1a1e20046fa (diff)
PhotoRec: do not limit .raf filesize for recent version
Diffstat (limited to 'src/file_raf.c')
-rw-r--r--src/file_raf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_raf.c b/src/file_raf.c
index dbae6b6..7912485 100644
--- a/src/file_raf.c
+++ b/src/file_raf.c
@@ -31,7 +31,6 @@
#include "common.h"
#include "filegen.h"
-
static void register_header_check_raf(file_stat_t *file_stat);
const file_hint_t file_hint_raf= {
@@ -92,7 +91,7 @@ static int header_check_raf(const unsigned char *buffer, const unsigned int buff
else
{
/* The size is bigger than calculated_file_size */
- file_recovery_new->file_check=&file_check_size_lax;
+ file_recovery_new->file_check=&file_check_size_min;
}
return 1;
}