]> sourceware.org Git - annobin.git/commitdiff
Fix premature closing of dwatf handle
authorNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2018 10:16:32 +0000 (11:16 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2018 10:16:32 +0000 (11:16 +0100)
annocheck/annocheck.c

index b6b5fce45c6f84f15d75afd235d6cd6fbb6ad747..fe59784896c2a6404fc9c91ac80b5419fb063333 100644 (file)
@@ -794,7 +794,7 @@ eu_checksec_walk_dwarf (eu_checksec_data * data, dwarf_walker func, void * ptr)
 
       if (alt != NULL)
        {
-         (void) dwarf_end (dwarf);
+         /* NB/ Do not close the parent dwarf, as that will close the alt as well...  */
          (void) scan_dwarf (data, alt, func, ptr);
          data->dwarf = alt;
        }
This page took 0.027953 seconds and 5 git commands to generate.