[all-commits] [llvm/llvm-project] 10b5b5: [clang] Fix a crash when referencing the result if...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Jan 8 02:49:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b5b5d6e2df25dab86fe89a78c5df6f507f6e50
      https://github.com/llvm/llvm-project/commit/10b5b5d6e2df25dab86fe89a78c5df6f507f6e50
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp

  Log Message:
  -----------
  [clang] Fix a crash when referencing the result if the overload fails (#77288)

after 20a05677f9394d4bc9467fe7bc93a4ebd3aeda61

If the overload fails, the `Best` might point to the `end()`,
referencing it leads to asan crashes.




More information about the All-commits mailing list