[php-src] PR #24495: Zend: prevent malloc(0) in tracked allocator

From: Date: Wed, 21 Oct 2026 18:19:30 +0000
Subject: [php-src] PR #24495: Zend: prevent malloc(0) in tracked allocator
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39666@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24495 Author: Sjord malloc(0) may return NULL. Prevent it by allocating at least one byte. Otherwise PHP may think the system is out of memory because malloc returns NULL.

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