diff options
Diffstat (limited to 'bfd/dwarf1.c')
-rw-r--r-- | bfd/dwarf1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/dwarf1.c b/bfd/dwarf1.c index 903bfc3..da184cc 100644 --- a/bfd/dwarf1.c +++ b/bfd/dwarf1.c @@ -186,6 +186,8 @@ parse_die (abfd, aDieInfo, aDiePtr) /* First comes the length. */ aDieInfo->length = bfd_get_32 (abfd, xptr); xptr += 4; + if (aDieInfo->length == 0) + return false; if (aDieInfo->length < 6) { /* Just padding bytes. */ |