Fix CU overrun in scan_unit_for_symbols
[deliverable/binutils-gdb.git] / bfd / dwarf2.c
index 057fd91317319105717ad8fa79d85e052b3d0117..d56244b8ff02d461edb57a401ba2eb3fbb317cd9 100644 (file)
@@ -3072,7 +3072,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
 {
   bfd *abfd = unit->abfd;
   bfd_byte *info_ptr = unit->first_child_die_ptr;
-  bfd_byte *info_ptr_end = unit->stash->info_ptr_end;
+  bfd_byte *info_ptr_end = unit->end_ptr;
   int nesting_level = 0;
   struct nest_funcinfo {
     struct funcinfo *func;
This page took 0.026231 seconds and 4 git commands to generate.