[all-commits] [llvm/llvm-project] 24ec52: [libunwind][SystemZ] Use process_vm_readv to avoid...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Mon Jul 18 07:57:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24ec521cd7bb51447f4ab03460d91c57378d49f7
      https://github.com/llvm/llvm-project/commit/24ec521cd7bb51447f4ab03460d91c57378d49f7
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp
    M libunwind/test/bad_unwind_info.pass.cpp

  Log Message:
  -----------
  [libunwind][SystemZ] Use process_vm_readv to avoid potential segfaults

Fix potential crashes during unwind when checking for signal frames
and the current PC is invalid.

The same bug was fixed for aarch64 in https://reviews.llvm.org/D126343.

Reviewed by: MaskRay

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




More information about the All-commits mailing list