[php-src] PR #15359: Ensure proper alignment of zend_accel_shared_globals.interned_strings

From: Date: Mon, 12 Aug 2024 12:17:40 +0000
Subject: [php-src] PR #15359: Ensure proper alignment of zend_accel_shared_globals.interned_strings
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27868@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15359 Author: arnaud-lb Fixes https://github.com/php/php-src/issues/15348 https://github.com/php/php-src/pull/13676 adds a assertion to check that zend_accel_shared_globals.interned_strings.start is 8 bytes aligned, which in hindsight was not guaranteed. What is guaranteed is that the size of zend_strings in the buffer is a multiple of 8. Here I ensure that zend_accel_shared_globals.interned_strings, and thus zend_accel_shared_globals.interned_strings.start, are 8-bytes aligned.

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