forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #74815 crash with a combination of INI entries at startup
TS related VCWD routines depend on CWD. Thus, a premature CWD deactivation renders the VCWD layer unusable. Same issue seems to persist in versions < 7.2, just that the code path is actually unused so the issue didn't show up. Still might make sense to backport this into lower branches.
- Loading branch information
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--TEST-- | ||
Bug #74815 crash with a combination of INI entries at startup | ||
--FILE-- | ||
<?php | ||
|
||
$php = getenv("TEST_PHP_EXECUTABLE"); | ||
|
||
echo shell_exec("$php -n -d error_log=errors.log -d error_reporting=E_ALL -d log_errors=On -d track_errors=On -v"); | ||
|
||
?> | ||
==DONE== | ||
--EXPECTF-- | ||
Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 | ||
%A | ||
==DONE== |