summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-02-11 19:31:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-02-11 19:31:15 +0100
commit3b81092d6af28b8fcc8525b717210b7fd94a122a (patch)
tree2a18cb88f0f1c7be3b8f931025d02ac8311c72bb /src/file_zip.c
parenta0c6adc4655e71cb1b1c235c4bb733d233400cf9 (diff)
PhotoRec: identify MindManager as .mmap files instead of .zip
Diffstat (limited to 'src/file_zip.c')
-rw-r--r--src/file_zip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index 61c4b9b..3faa69d 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -230,6 +230,8 @@ static int zip_parse_file_entry(file_recovery_t *fr, const char **ext, const uns
msoffice=1;
else if(len==4 && memcmp(filename, "Home", 4)==0)
sh3d=1;
+ else if(len==30 && memcmp(filename, "xsd/MindManagerApplication.xsd", 30)==0)
+ *ext="mmap";
}
else if(file_nbr==1 && sh3d==1)
{