PR 25307
(bfd_pef_parse_function_stubs): Correct the test that ensures that
there is enough data remaining in the code buffer before
attempting to read a function stub.
+2020-01-03 Nick Clifton <nickc@redhat.com>
+
+ PR 25307
+ (bfd_pef_parse_function_stubs): Correct the test that ensures that
+ there is enough data remaining in the code buffer before
+ attempting to read a function stub.
+
2020-01-03 Nick Clifton <nickc@redhat.com>
PR 25308
codepos += 4;
}
- if ((codepos + 4) > codelen)
+ if ((codepos + 24) > codelen)
break;
ret = bfd_pef_parse_function_stub (abfd, codebuf + codepos, 24, &sym_index);