This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2 4/6] PR binutils/22875: Visium/ELF: Prevent an out-of-bounds howto table access
> Prevent an out-of-bounds `visium_elf_howto_table' table access in
> `visium_info_to_howto_rela' and redefine R_VISIUM_max to hold the number
> of entries in the contiguous regular Visium relocation range defined and
> described in the table, keeping the definitions of
> R_VISIUM_GNU_VTINHERIT and R_VISIUM_GNU_VTENTRY as outliers.
>
> include/
> * elf/visium.h (R_VISIUM_max): Redefine as `R_VISIUM_IM16_PCREL
> + 1'.
> ---
> Hi,
>
> Oops, wrong patch originally included, here's correct v2.
>
> Regression-tested successfully. OK to apply?
Yes, thanks for catching this.
--
Eric Botcazou