summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2024-10-09 14:15:06 +0200
committerGitHub <noreply@github.com>2024-10-09 14:15:06 +0200
commit374fffe015b48676fb3785167d363454a2f4dd1f (patch)
tree95febb5b8ea6eb65403122e7aa6e04de37445399 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parenta9f5a44aa0032c6efb262d2d5f79847045e525f1 (diff)
Fix out-of-bounds access to std::unique_ptr<T[]> (#111581)
This manifested as an assertion failure in Clang built against libc++ with hardening enabled (e.g. -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG): `libcxx/include/__memory/unique_ptr.h:596: assertion __checker_.__in_bounds(std::__to_address(__ptr_), __i) failed: unique_ptr<T[]>::operator[](index): index out of range`
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions