PR23147, Heap buffer overflow in pe_print_idata
[deliverable/binutils-gdb.git] / bfd / peXXigen.c
index 5e0acc4571d3316f92fd390da1a0bc02e3db122b..b32cc18681d4c2ad14e917822cafef7569a43f7c 100644 (file)
@@ -1438,7 +1438,7 @@ pe_print_idata (bfd * abfd, void * vfile)
       if (hint_addr == 0)
        hint_addr = first_thunk;
 
-      if (hint_addr != 0)
+      if (hint_addr != 0 && hint_addr - adj < datasize)
        {
          bfd_byte *ft_data;
          asection *ft_section;
This page took 0.025026 seconds and 4 git commands to generate.