[compiler-rt] [scudo] Handle failed mmap for allocation ring buffer (PR #71817)
Fabio D'Urso via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 11:15:49 PST 2023
================
@@ -1501,6 +1503,11 @@ class Allocator {
getPageSizeCached()),
"scudo:ring_buffer");
----------------
fabio-d wrote:
Shouldn't this call include the `MAP_ALLOWNOMEM` flag? (it should be possible to get a `nullptr` if you don't pass this flag - if you've seen one without it, there might some hidden bug elsewhere)
https://github.com/llvm/llvm-project/pull/71817
More information about the llvm-commits
mailing list