[all-commits] [llvm/llvm-project] c628db: [Clang] Prevent null pointer dereference in design...
smanna12 via All-commits
all-commits at lists.llvm.org
Wed Jul 24 10:41:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c628dbd030ff084fe5e06315ddf09a47182e9716
https://github.com/llvm/llvm-project/commit/c628dbd030ff084fe5e06315ddf09a47182e9716
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaExprObjC.cpp
Log Message:
-----------
[Clang] Prevent null pointer dereference in designated initializer check (#97220)
This patch adds an assertion in clang::SemaObjC::BuildInstanceMessage()
to ensure getCurMethodDecl() returns a valid method declaration,
addressing a static analyzer finding.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list