diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-11 17:22:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-11 17:22:47 +0000 |
commit | 169a6afd8173cc85a75f18a39a94ef408a7cc0b9 (patch) | |
tree | 244fbdb165e6089b2bea528187160710a0d8cf96 /bfd/xsym.c | |
parent | d5b2f13be7d24abb533d482b6bc80653b0c217d2 (diff) | |
download | gdb-169a6afd8173cc85a75f18a39a94ef408a7cc0b9.zip gdb-169a6afd8173cc85a75f18a39a94ef408a7cc0b9.tar.gz gdb-169a6afd8173cc85a75f18a39a94ef408a7cc0b9.tar.bz2 |
(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with
a size of 0.
Diffstat (limited to 'bfd/xsym.c')
-rw-r--r-- | bfd/xsym.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -464,7 +464,9 @@ bfd_sym_parse_contained_variables_table_entry_v32 (buf, len, entry) } else if (entry->entry.la_size <= BFD_SYM_CVTE_SCA) { +#if BFD_SYM_CVTE_SCA > 0 memcpy (&entry->entry.address.lastruct.la, buf + 10, BFD_SYM_CVTE_SCA); +#endif entry->entry.address.lastruct.la_kind = buf[23]; } else if (entry->entry.la_size == BFD_SYM_CVTE_BIG_LA) |