diff options
author | Christophe Grenier <[email protected]> | 2014-07-26 22:34:01 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2014-07-26 22:34:01 +0200 |
commit | 43c7045c0b583f1c9a3d38e7e5ebf678681b5318 (patch) | |
tree | 1855153f687a79aba8fd5b22358871a9a3f23b81 | |
parent | dfbfaa1211784287c4efac494629b163f07967dc (diff) |
PhotoRec: define a minimal size for .pzh files
-rw-r--r-- | src/file_pzh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_pzh.c b/src/file_pzh.c index 7c6f5b76..5b0d30ec 100644 --- a/src/file_pzh.c +++ b/src/file_pzh.c @@ -80,6 +80,7 @@ static int header_check_pzh(const unsigned char *buffer, const unsigned int buff reset_file_recovery(file_recovery_new); file_recovery_new->extension=file_hint_pzh.extension; file_recovery_new->file_rename=&file_rename_pzh; + file_recovery_new->min_filesize=0x9c4 + sizeof(pzh_header); return 1; } return 0; |