summaryrefslogtreecommitdiffstats
path: root/src/file_dex.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-06-22 15:26:09 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-06-22 15:26:09 +0200
commita5a6603a741e44f6041c29450969b4a64755df3f (patch)
treec3826746f4e48a7a27305341ea710dbf03a476e9 /src/file_dex.c
parent7609ff87b9876045a3b8f7cd05c85ed909f15246 (diff)
PhotoRec: fix Dalvik .dex detection
Diffstat (limited to 'src/file_dex.c')
-rw-r--r--src/file_dex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_dex.c b/src/file_dex.c
index 1b0787c..c60cbb8 100644
--- a/src/file_dex.c
+++ b/src/file_dex.c
@@ -43,7 +43,7 @@ const file_hint_t file_hint_dex= {
.register_header_check=&register_header_check_dex
};
-static const unsigned char dex_header[5]= {'d','e','x','\n','0'};
+static const unsigned char dex_header[4]= {'d','e','x','\n'};
static void register_header_check_dex(file_stat_t *file_stat)
{