[all-commits] [llvm/llvm-project] 72b3d7: [clang][Interp] Makre sure we don't overflow Descr...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Wed Jul 17 02:11:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72b3d7bc87019ba7ef268ce322f90382f01b11af
https://github.com/llvm/llvm-project/commit/72b3d7bc87019ba7ef268ce322f90382f01b11af
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
Log Message:
-----------
[clang][Interp] Makre sure we don't overflow Descriptor::AllocSize
We allocate the metadata and the array elements in one allocation,
and we save its size in a field of type 'unsigned'. Makre sure the
full size of the allocation doesn't overflow the field.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list