llvm-project
a799a8e9
- [CIR] Cast record size to uint64 to prevent overflow (#167525)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
97 days ago
[CIR] Cast record size to uint64 to prevent overflow (#167525) `llvm::TypeSize` uses 64bit integers, so we should cast the `recordSize` before multiplying by 8 to prevent an overflow.
References
#167525 - [CIR] Cast record size to uint64 to prevent overflow
Author
HendrikHuebner
Parents
e5e9c3b4
Loading