[all-commits] [llvm/llvm-project] 437dfa: Fix use-after-free in help message: this cl::opt w...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Apr 10 23:26:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 437dfa5b0365a7228af00b17b7e0ad6e9a321129
      https://github.com/llvm/llvm-project/commit/437dfa5b0365a7228af00b17b7e0ad6e9a321129
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M llvm/lib/Analysis/MLInlineAdvisor.cpp

  Log Message:
  -----------
  Fix use-after-free in help message: this cl::opt was binding a StringRef to a temporary string

Caught by ASAN on a bot: https://lab.llvm.org/buildbot/#/builders/168/builds/12872/steps/14/logs/stdio




More information about the All-commits mailing list