llvm-project
4648d33f - [lldb] Bounds check minidump location descriptors (#223911)

Commit
61 days ago
[lldb] Bounds check minidump location descriptors (#223911) MinidumpParser::GetModuleUUID sliced the file with the RVA and DataSize taken straight from a module's CvRecord. ArrayRef::slice asserts, but a build without assertions still reads out of bounds. Route both through MinidumpFile::getRawData, which range checks in 64 bits, and log the error rather than returning a slice that looks valid. rdar://186889966 rdar://186890172
Author
Parents
Loading