(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with

a size of 0.
This commit is contained in:
Nick Clifton
2005-02-11 17:22:47 +00:00
parent d5b2f13be7
commit 169a6afd81
2 changed files with 5 additions and 0 deletions

View File

@@ -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)