From: Ondřej Surý Date: Mon, 26 Aug 2024 15:01:03 +0000 (+0000) Subject: fix: dev: Stop using malloc_usable_size and malloc_size X-Git-Tag: v9.21.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f99da39934dd8260cfe9c699b6910c6629534c83;p=thirdparty%2Fbind9.git fix: dev: Stop using malloc_usable_size and malloc_size The `malloc_usable_size()` can return size larger than originally allocated and when these sizes disagree the fortifier enabled by `_FORTIFY_SOURCE=3` detects overflow and stops the `named` execution abruptly. Stop using these convenience functions as they are primary used for introspection-only. Closes #4880 Merge branch '4880-dont-use-malloc_usable_size' into 'main' Closes #4880 See merge request isc-projects/bind9!9400 --- f99da39934dd8260cfe9c699b6910c6629534c83