forked from Imagelibrary/binutils-gdb
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>
|
2018-05-09 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 23147
|
PR 23147
|
||||||
|
|||||||
@@ -1671,7 +1671,7 @@ pe_print_edata (bfd * abfd, void * vfile)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* PR 17512: Handle corrupt PE binaries. */
|
/* PR 17512: Handle corrupt PE binaries. */
|
||||||
if (datasize < 36)
|
if (datasize < 40)
|
||||||
{
|
{
|
||||||
fprintf (file,
|
fprintf (file,
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
|
|||||||
Reference in New Issue
Block a user