[all-commits] [llvm/llvm-project] 99c766: asan: fix crash in strdup on malloc failure

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Mon Feb 20 06:37:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99c7664bd4be4a2e719415a18ca80fcf9a619a5e
      https://github.com/llvm/llvm-project/commit/99c7664bd4be4a2e719415a18ca80fcf9a619a5e
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_interceptors.cpp

  Log Message:
  -----------
  asan: fix crash in strdup on malloc failure

There are some programs that try to handle all malloc failures.
Let's allow testing of such programs.

Reviewed By: melver

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




More information about the All-commits mailing list