[clang] [clang] Fix heap-use-after-free in TryAnnotateTypeOrScopeTokenAfterScopeSpec (PR #124521)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 27 22:02:23 PST 2025


Shivam7-1 wrote:

> You need to add a test. We have ASan buildbots, but they only run post-merge. You can use `LLVM_USE_SANITIZER` [CMake option](https://llvm.org/docs/CMake.html#:~:text=llvm_use_sanitizer%3Astring) to check locally that Clang crashes on your test without the fix.

Hii @Endilll Thanks for Response Can you provide steps to do it ?

https://github.com/llvm/llvm-project/pull/124521


More information about the cfe-commits mailing list