[all-commits] [llvm/llvm-project] 056372: [NFC][AMDGPU] Guard the custom fixups kind array f...

Georgi Mirazchiyski via All-commits all-commits at lists.llvm.org
Wed Aug 30 03:13:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05637256005baef5aea2c4ea323e119e1f07ab5c
      https://github.com/llvm/llvm-project/commit/05637256005baef5aea2c4ea323e119e1f07ab5c
  Author: Georgi Mirazchiyski <georgi.mirazchiyski at codeplay.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp

  Log Message:
  -----------
  [NFC][AMDGPU] Guard the custom fixups kind array from invalid access

Protect from accidental passing of an invalid MCFixupKind value which
can cause an out-of-bounds access in the array.

Reviewed by: arsenm

Differential Revision: https://reviews.llvm.org/D158725




More information about the All-commits mailing list