[php-src] Issue #8310: Local directory settings are loaded for scripts from another directory on PHP 8.1.4 (Windows)
| From: | cmb69 | Date: | Wed, 06 Apr 2022 13:24:04 +0000 |
| Subject: | [php-src] Issue #8310: Local directory settings are loaded for scripts from another directory on PHP 8.1.4 (Windows) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240702@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8310
Comment Author: cmb69
This is a pretty serious bug, introduced when the [Zend Stream API has been changed to use
zend_string* instead of
char*](https://github.com/php/php-src/commit/c732ab400af92c54eee47c487a56009f1d79dd5d),
but it apparently has been overlooked to fix the calls to UpdateIniFromRegistry() which
still expects a char*. Since there was a cast, the compiler didn't warn about that
misuse.