[clang] [analyzer] Fix crash on dereference invalid return value of getAdjustedParameterIndex() (PR #83585)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 07:34:58 PST 2024


================
@@ -0,0 +1,15 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core.DivideZero -std=c++23 -verify %s
----------------
mzyKi wrote:

Thanks for your suggestions. I fixed it in https://github.com/llvm/llvm-project/commit/5ac52a8fda78fd8308b95c244a9a4b46d9d8121a

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


More information about the cfe-commits mailing list