Bug #13340 Updated: get_defined_constants crashed on default value of constant DEFAULT_INCLUDE_PATH
| From: | mfischer@php.net | Date: | Mon, 15 Oct 2001 09:03:28 +0000 |
| Subject: | Bug #13340 Updated: get_defined_constants crashed on default value of constant DEFAULT_INCLUDE_PATH | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67948@lists.php.net to get a copy of this message | ||
ID: 13340
Updated by: mfischer
Reported By: dacota@iis.nsk.su
Old Status: Feedback
Status: Closed
Bug Type: Reproducible crash
Operating System: Win32
PHP Version: 4.0CVS-2001-10-14
Assigned To: ssb
New Comment:
Fixed in CVS.
- Markus
Previous Comments:
------------------------------------------------------------------------
[2001-10-15 04:27:38] mfischer@php.net
Still crashes. I did another test run and now its the PHP_EXTENSION_DIR like dacota mentioned.
- Markus
------------------------------------------------------------------------
[2001-10-15 01:47:44] ssb@php.net
Changed to ":" in CVS, please test and let me know if it stopped crashing.
------------------------------------------------------------------------
[2001-10-14 17:17:36] mfischer@php.net
This still crashes on Win32 when building from CVS.
Fix is in the report, someone with karma do the right thing please ? :)
- Markus
------------------------------------------------------------------------
[2001-09-18 08:39:18] dacota@iis.nsk.su
I thought that maybe better to add check to
zend_register_stringl_constant
for NULL?
replacing
c.value.value.str.val = strval;
by
c.value.value.str.val = strval ? strval : empty_string;
?
------------------------------------------------------------------------
[2001-09-17 07:27:44] dacota@iis.nsk.su
This also apply to PHP_EXTENSION_DIR, which is defined as NULL in config.win32.h
PHP_EXTENSION_DIR also should be defined as empty_string or ""
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=13340
Edit this bug report at http://bugs.php.net/?id=13340&edit=1