[clang] a36227c - fixes bug #51926 where dangling comma caused overrun

2021-09-28 Thread Fred Grim via cfe-commits
Author: Fred Grim Date: 2021-09-28T15:59:37-07:00 New Revision: a36227cb2b6a14fc30bfd303328d1d1abb632010 URL: https://github.com/llvm/llvm-project/commit/a36227cb2b6a14fc30bfd303328d1d1abb632010 DIFF: https://github.com/llvm/llvm-project/commit/a36227cb2b6a14fc30bfd303328d1d1abb632010.diff LOG

[clang] [Clang] Fix potential null pointer dereferences in Sema::AddInitializerToDecl (PR #94368)

2024-06-04 Thread Fred Grim via cfe-commits
https://github.com/feg208 commented: Why add the check here rather than add an assertion at the point of assignation (i.e. ``` Init = Result.getAs(); ``` Since Init is passed into CheckSelfReference on line 13712 where it's dereferenced the same issue binds there as well https://github.com/llv

[clang] [Clang] Fix potential null pointer dereferences in Sema::AddInitializerToDecl (PR #94368)

2024-06-04 Thread Fred Grim via cfe-commits
https://github.com/feg208 approved this pull request. ltgm https://github.com/llvm/llvm-project/pull/94368 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits