summaryrefslogtreecommitdiff
path: root/src/format/dex/dex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex/dex.c')
-rwxr-xr-xsrc/format/dex/dex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c
index b286f7c..f0fb421 100755
--- a/src/format/dex/dex.c
+++ b/src/format/dex/dex.c
@@ -197,6 +197,14 @@ GBinFormat *g_dex_format_new(const bin_t *content, off_t length)
g_dex_format_find_all_sources(result);
+
+ if (!find_all_dex_strings(result))
+ {
+ g_object_unref(G_OBJECT(result));
+ return NULL;
+ }
+
+
return G_BIN_FORMAT(result);
}