[all-commits] [llvm/llvm-project] eabf1d: [RISCV] check pointer before dereference

Piyou Chen via All-commits all-commits at lists.llvm.org
Wed May 31 21:35:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eabf1d367f661bda1ab1a075e5382769e9cfefcf
      https://github.com/llvm/llvm-project/commit/eabf1d367f661bda1ab1a075e5382769e9cfefcf
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/lib/Support/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] check pointer before dereference

Encountered ASAN crash and found it dereference without check pointer.

Reviewed By: kito-cheng, eklepilkina

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




More information about the All-commits mailing list