summaryrefslogtreecommitdiffstats
path: root/src/file_jsonlz4.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_jsonlz4.c
parentcc7f97cd2931bf65f68754031681f1a1e20046fa (diff)
PhotoRec: do not limit .raf filesize for recent version
Diffstat (limited to 'src/file_jsonlz4.c')
-rw-r--r--src/file_jsonlz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_jsonlz4.c b/src/file_jsonlz4.c
index 7dc960f..8d3390e 100644
--- a/src/file_jsonlz4.c
+++ b/src/file_jsonlz4.c
@@ -51,7 +51,7 @@ static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int
file_recovery_new->extension=file_hint_jsonlz4.extension;
file_recovery_new->calculated_file_size=le32(*uncompressed_size);
file_recovery_new->data_check=&data_check_size;
- file_recovery_new->file_check=&file_check_size_lax;
+ file_recovery_new->file_check=&file_check_size_max;
return 1;
}