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

2024-03-01 Thread Ella Ma via cfe-commits
Snape3058 wrote: Add suggested reviewers for this PR. I am unfamiliar with the engine code. > mzyKi force-pushed the bugfix/crash-on-getAdjustedParameterIndex branch Please do not force push to your forked repo later after receiving suggestions from other reviewers. This will make previous

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

2024-03-01 Thread via cfe-commits
https://github.com/mzyKi updated https://github.com/llvm/llvm-project/pull/83585 >From 6a9f7a996c127462fa787a2626bc0676d4e04ff3 Mon Sep 17 00:00:00 2001 From: miaozhiyuan Date: Fri, 1 Mar 2024 22:45:20 +0800 Subject: [PATCH] [clang][ExprEngineCXX] Fix crash on dereference invalid return value

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

2024-03-01 Thread via cfe-commits
https://github.com/mzyKi edited https://github.com/llvm/llvm-project/pull/83585 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2024-03-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-static-analyzer-1 Author: Exile (mzyKi) Changes fix #78810 --- Full diff: https://github.com/llvm/llvm-project/pull/83585.diff 2 Files Affected: - (modified) clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp (+7-2) -

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

2024-03-01 Thread via cfe-commits
https://github.com/mzyKi created https://github.com/llvm/llvm-project/pull/83585 fix #78810 >From f0291dde10251269627022a9b7331211a3d6a91f Mon Sep 17 00:00:00 2001 From: miaozhiyuan Date: Fri, 1 Mar 2024 22:45:20 +0800 Subject: [PATCH] [clang][ExprEngineCXX] Fix crash on dereference invalid