summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:55:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:55:38 +0200
commit16a9207d667f7ce45e3c960fdae8433e42410b2c (patch)
tree7a057947471b9991a45077beb7af2a5c48df8baf
parent1604d508fb9580d7f14339c1622535ed586a7252 (diff)
PhotoRec: add minimal size for xfs structure
-rw-r--r--src/file_xfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_xfs.c b/src/file_xfs.c
index 7da3b53..3b654cd 100644
--- a/src/file_xfs.c
+++ b/src/file_xfs.c
@@ -73,6 +73,7 @@ static int header_save_xfs(const unsigned char *buffer, const unsigned int buffe
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_xfs.extension;
file_recovery_new->data_check=&data_check_stopasap;
+ file_recovery_new->min_filesize=512;
return 1;
}