[php-src] PR #16507: Use ZendMM for libgmp

From: Date: Sat, 19 Oct 2024 10:54:31 +0000
Subject: [php-src] PR #16507: Use ZendMM for libgmp
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29308@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16507 Author: cmb69 As is, ext/gmp uses the default memory allocator of the underlying libgmp; this allocator is fallible, but contrary to ZendMM, it abort()s without giving us an opportunity to do a cleaner shutdown. Furthermore, the libgmp allocator obviously doesn't heed memory_limit. Thus we install wrappers of the ZendMM API as libgmp allocator. --- I've targeted master since this might be seen as new feature; it might also been seen as bug fix, though.

« previous php.git-pulls (#29308) next »