summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex')
-rw-r--r--src/format/dex/pool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/dex/pool.c b/src/format/dex/pool.c
index 904ab76..1724dd9 100644
--- a/src/format/dex/pool.c
+++ b/src/format/dex/pool.c
@@ -403,6 +403,8 @@ GBinRoutine *get_prototype_from_dex_pool(GDexFormat *format, uint32_t index)
uint32_t i; /* Boucle de parcours */
GBinVariable *arg; /* Argument reconstitué */
+ result = NULL;
+
if (index >= format->header.method_ids_size)
goto grfdp_error;