relabel malloc read-only after init data
parent
fc8f2c3b60
commit
98deb9de52
|
@ -1060,6 +1060,7 @@ COLD static void init_slow_path(void) {
|
|||
if (memory_protect_ro(&ro, sizeof(ro))) {
|
||||
fatal_error("failed to protect allocator data");
|
||||
}
|
||||
memory_set_name(&ro, sizeof(ro), "malloc read-only after init");
|
||||
|
||||
mutex_unlock(&lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue