summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-08-09 12:58:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-08-09 12:58:35 +0200
commitee3ac65ca7db7997edeb9a502282909011e284d6 (patch)
tree4490d0abc6a87fc850669632f3d4050edcf1fd50 /src/file_zip.c
parentf43a52f87e18d375123897947dca1a58cc9eb3e0 (diff)
PhotoRec: recover .kmz Zipped Keyhole Markup Language (KML) used by Google Earth
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 0c38562..a3662ab 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==7 && memcmp(filename, "doc.kml", 7)==0)
+ *ext="kmz"; /* Zipped Keyhole Markup Language (KML) used by Google Earth */
}
else if(file_nbr==1 && sh3d==1)
{