summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-09 08:12:34 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-09 08:12:34 +0200
commit6c073e21c6660f69ed8fc5eaf1ac27c363c33831 (patch)
tree5ac4d8046676fecd8826eaa50c14aa634864f81b
parent00a58a7f13bf9a6b544989fe09a51d141cdb2069 (diff)
Limit recovered .xcf filesize to 1GB
-rw-r--r--src/file_xcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_xcf.c b/src/file_xcf.c
index 2fb6baa..122d942 100644
--- a/src/file_xcf.c
+++ b/src/file_xcf.c
@@ -37,7 +37,7 @@ const file_hint_t file_hint_xcf= {
.extension="xcf",
.description="Gimp XCF File",
.min_header_distance=0,
- .max_filesize=PHOTOREC_MAX_FILE_SIZE,
+ .max_filesize=1024*1024*1024,
.recover=1,
.enable_by_default=1,
.register_header_check=&register_header_check_xcf