[PATCH] PR28415: Xtensa stack-buffer-overflow in objdump at disassemble_bytes
Max Filippov
jcmvbkbc@gmail.com
Fri Oct 8 19:50:58 GMT 2021
Hi Guillermo,
On Thu, Oct 7, 2021 at 8:43 AM Guillermo E. Martinez
<guillermo.e.martinez@oracle.com> wrote:
>
> Hello,
>
> This patch fix the issue repoted by Irfan Ariq,
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=28415
>
> Plase let me know your comments. Thanks in advance
>
> Kind Regards,
> Guillermo
>
> * elf32-xtensa.c (xtensa_read_table_entries): table_data variable is
> not taking care of the return value for retrieve_contents assuming
> valid bytes for section read, further used in bfd_get_32.
> ---
> bfd/elf32-xtensa.c | 7 +++++++
> 1 file changed, 7 insertions(+)
Thanks for your patch. The change looks good to me.
--
Thanks.
-- Max
More information about the Binutils
mailing list