[all-commits] [llvm/llvm-project] 8f8e45: [clang] Fix crash on attempt to initialize union w...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Mon May 22 06:33:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f8e450b668219c211284b68c36ba25b3193a2b0
https://github.com/llvm/llvm-project/commit/8f8e450b668219c211284b68c36ba25b3193a2b0
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
A clang/test/Sema/flexible-array-in-union.c
Log Message:
-----------
[clang] Fix crash on attempt to initialize union with flexible array member
Due to missing check on union, there was a null expression
added to init list that caused crash later.
Fixes https://github.com/llvm/llvm-project/issues/61746
Reviewed By: aaron.ballman, shafik
Differential Revision: https://reviews.llvm.org/D150435
More information about the All-commits
mailing list