]> git.ipfire.org Git - thirdparty/bind9.git/commit
Provide more information when the memory allocation fails
authorOndřej Surý <ondrej@isc.org>
Mon, 24 Nov 2025 09:06:51 +0000 (10:06 +0100)
committerOndřej Surý <ondrej@sury.org>
Fri, 28 Nov 2025 13:42:21 +0000 (14:42 +0100)
commitb0194004d9de54a3be5652ad4eb7ba9b48b11eee
treed52e0cf6f9949455caf9ea34c9b1a6105c4da959
parent054d20205def15a3dfb1c41ef7ea1e21d19a9b0f
Provide more information when the memory allocation fails

Instead of just crashing when memory allocation fails, also print a
message saying "Out of memory!", the size of the allocation that failed,
total allocated memory from all memory contexts and value of errno.
lib/isc/jemalloc_shim.h
lib/isc/mem.c