summaryrefslogtreecommitdiffstats
path: root/src/file_xz.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:58:45 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:58:45 +0100
commit345d8ab23a386ebdb03e11defa28c5527564c042 (patch)
tree57c3ea36e9f71d0bad3b72dc936bb9add47fd098 /src/file_xz.c
parent46c3648a5aafe94eb94c8be4ed5cbaed99c3b08d (diff)
PhotoRec: set minimal size for .xz files
Diffstat (limited to 'src/file_xz.c')
-rw-r--r--src/file_xz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_xz.c b/src/file_xz.c
index fefc8bd..d4e936e 100644
--- a/src/file_xz.c
+++ b/src/file_xz.c
@@ -52,6 +52,7 @@ static int header_check_xz(const unsigned char *buffer, const unsigned int buffe
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_xz.extension;
file_recovery_new->file_check=&file_check_xz;
+ file_recovery_new->min_filesize=9;
return 1;
}