summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/dex/dex-int.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/dex/dex-int.c b/src/format/dex/dex-int.c
index 811cf5d..043d8cc 100644
--- a/src/format/dex/dex-int.c
+++ b/src/format/dex/dex-int.c
@@ -159,7 +159,10 @@ bool read_dex_string_data_item(const GDexFormat *format, vmpa2t *pos, string_dat
result = g_binary_content_read_uleb128(content, pos, &str_data->utf16_size);
if (result)
+ {
str_data->data = g_binary_content_get_raw_access(content, pos, str_data->utf16_size);
+ result = (str_data->data != NULL);
+ }
return result;