[php-src] PR #18462: zlib: use zend_string_{extend,truncate} over *_realloc

From: Date: Tue, 29 Apr 2025 22:35:02 +0000
Subject: [php-src] PR #18462: zlib: use zend_string_{extend,truncate} over *_realloc
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-31573@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18462 Author: morrisonlevi These cases seemed obvious enough to me to confidently change as an outsider. There are a few more cases of zend_string_realloc still in other parts of the engine. Note that deflate_add is possibly missing a zend_string_truncate step at the end of it, similar to what inflate_add has. Or alternatively inflate_add is doing an unnecessary zend_string_truncate. They don't match, in any case.

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