The Initializer of a InitListExpr can be reset to null, which leads to
nullptr-acces crashes.
Details
Details
- Reviewers
 sammccall - Commits
 - rG97b8dabba5c5: [AST] Fix a null initializer crash for InitListExpr
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
| clang/lib/Sema/SemaInit.cpp | ||
|---|---|---|
| 1640 | I have the same question. but if you looked at the other 2 places (same FIXME) of this file, they reset the Init only when the Result is valid. I think this place maybe an overlook.  | |
I have the same question.
but if you looked at the other 2 places (same FIXME) of this file, they reset the Init only when the Result is valid. I think this place maybe an overlook.