[all-commits] [llvm/llvm-project] fc99f1: [Symbolizer] Fix use-after-free

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Fri Jul 22 01:29:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc99f18a20f47805f7ac127cc2147f316c6459a5
      https://github.com/llvm/llvm-project/commit/fc99f18a20f47805f7ac127cc2147f316c6459a5
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  [Symbolizer] Fix use-after-free

MarkupFilter keeps a reference to the last filtered StringRef. Just keep
it alive a bit longer. Found by asan.




More information about the All-commits mailing list