Commit e58dcf1
authored
[Clang] [NFC] Prevent null pointer dereference in Sema::InstantiateFunctionDefinition (#89801)
In the lambda function within
clang::Sema::InstantiateFunctionDefinition, the return value of a
function that may return null is now checked before dereferencing to
avoid potential null pointer dereference issues which can lead to
crashes or undefined behavior in the program.1 parent 96b2e35 commit e58dcf1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5184 | 5184 | | |
5185 | 5185 | | |
5186 | 5186 | | |
| 5187 | + | |
5187 | 5188 | | |
5188 | 5189 | | |
5189 | 5190 | | |
| |||
0 commit comments