Skip to content
  • Maciej W. Rozycki's avatar
    PR binutils/22875: FRV/ELF: Prevent an out-of-bounds howto table access · f428698e
    Maciej W. Rozycki authored
    Prevent an out-of-bounds `elf32_frv_howto_table' table access in
    `frv_info_to_howto_rela' by using the size of the table rather than
    R_FRV_max to determine the number of entries in the contiguous regular
    FRV relocation range defined and described in the table.
    
    	bfd/
    	* elf32-frv.c (frv_info_to_howto_rela): Correct the range check
    	for `elf32_frv_howto_table' table access.
    f428698e