diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-03-25 09:43:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-03-25 09:43:57 (GMT) |
commit | 8e275f286138db88140d1643d1008f130ba7f484 (patch) | |
tree | eea120992ae5a9c2a341e3bee336620ecdc65a6f /plugins/elf | |
parent | fd0df8f884336fc69bd0938453f9712c166f08c8 (diff) |
Avoided stack overflows with empty dynamic parameters.
Diffstat (limited to 'plugins/elf')
-rw-r--r-- | plugins/elf/symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elf/symbols.c b/plugins/elf/symbols.c index 5ddc99c..46e5ff8 100644 --- a/plugins/elf/symbols.c +++ b/plugins/elf/symbols.c @@ -139,7 +139,7 @@ bool load_elf_symbols(GElfFormat *format, wgroup_id_t gid, GtkStatusStack *statu /* Symboles importés et/ou exportés */ - if (find_elf_dynamic_program_header(format, (elf_phdr []) { 0 })) + if (find_elf_dynamic_program_header(format, (elf_phdr []) { { { 0 } } })) { log_variadic_message(LMT_INFO, _("Binary is dynamically linked")); |