[php-src] PR #20772: ext/session/mod_mm.c: add a few missing ZSTR macros
| From: | orlitzky | Date: | Tue, 23 Dec 2025 17:57:58 +0000 |
| Subject: | [php-src] PR #20772: ext/session/mod_mm.c: add a few missing ZSTR macros | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34365@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20772
Author: orlitzky
In https://github.com/php/php-src/commits/eaee504c4d4f337df11b56c251aaeec032b1ea51
the session's
save_path global was changed to a zend_string pointer,
but there are a few direct char-pointer accesses in ext/session/mod_mm.c that slipped
through the cracks. GCC-15 notices them and fails to build due to the incompatible pointer types.
Three ZSTR_* wrappers are all that is needed.
Gentoo-Bug: https://bugs.gentoo.org/967862