mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
PR23148, Heap buffer overflow in pe_print_edata
PR 23148 * peXXigen.c (pe_print_edata): Correct minimum size.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2018-05-09 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 23148
|
||||
* peXXigen.c (pe_print_edata): Correct minimum size.
|
||||
|
||||
2018-05-09 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 23147
|
||||
|
@ -1671,7 +1671,7 @@ pe_print_edata (bfd * abfd, void * vfile)
|
||||
}
|
||||
|
||||
/* PR 17512: Handle corrupt PE binaries. */
|
||||
if (datasize < 36)
|
||||
if (datasize < 40)
|
||||
{
|
||||
fprintf (file,
|
||||
/* xgettext:c-format */
|
||||
|
Reference in New Issue
Block a user