]> Git Repo - binutils.git/blobdiff - gdb/dwarf2read.c
fix dwarf_decode_line_header
[binutils.git] / gdb / dwarf2read.c
index 94727a734a8ce336dd02ce6e3fe9b5ebe06aa6c7..70ab302fb312da0f337cc108fc75e0c5d6fbd4a6 100644 (file)
@@ -15704,6 +15704,7 @@ dwarf_decode_line_header (unsigned int offset, struct dwarf2_cu *cu)
   if (line_ptr + lh->total_length > (section->buffer + section->size))
     {
       dwarf2_statement_list_fits_in_line_number_section_complaint ();
+      do_cleanups (back_to);
       return 0;
     }
   lh->statement_program_end = line_ptr + lh->total_length;
This page took 0.049138 seconds and 4 git commands to generate.