[clang] [clang] Fix a possible out-of-bounds read (PR #80023)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 23:40:39 PST 2024


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/80023 at github.com>


================
@@ -109,6 +109,7 @@ class ByteCodeExprGen : public ConstStmtVisitor<ByteCodeExprGen<Emitter>, bool>,
   bool VisitCXXScalarValueInitExpr(const CXXScalarValueInitExpr *E);
   bool VisitSizeOfPackExpr(const SizeOfPackExpr *E);
   bool VisitGenericSelectionExpr(const GenericSelectionExpr *E);
+  bool VisitChooseExpr(const ChooseExpr *E);
----------------
Endilll wrote:

Is this change relevant to the fix?

https://github.com/llvm/llvm-project/pull/80023


More information about the cfe-commits mailing list