#25788 [NoF->Opn]: apache crash
| From: | marrtins at hackers dot lv | Date: | Wed, 26 Nov 2003 09:06:37 +0000 |
| Subject: | #25788 [NoF->Opn]: apache crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51090@lists.php.net to get a copy of this message | ||
ID: 25788
User updated by: marrtins at hackers dot lv
Reported By: marrtins at hackers dot lv
-Status: No Feedback
+Status: Open
Bug Type: Session related
Operating System: w2k sp4
PHP Version: 4CVS-2003-10-08 (stable)
New Comment:
sorry, the same
Notice: Uninitialized string offset: 0 in d:\crash_php\index.php on
line 71
look at my submited code above on line 71
Previous Comments:
------------------------------------------------------------------------
[2003-11-25 15:31:24] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-11-17 18:41:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-10-08 05:02:58] marrtins at hackers dot lv
Description:
------------
1st time of session_start() reproduces notice
Notice: Uninitialized string offset: 0 in d:\crash_php\index.php on
line 70
2nd time crash
apache crash
Zend/zend_hash.c
------------------
ZEND_API int zend_hash_find(HashTable *ht, char *arKey, uint
nKeyLength, void **pData)
...
while (p != NULL) {
if ((p->h == h) && (p->nKeyLength == nKeyLength)) { // <-- access
violation
if (!memcmp(p->arKey, arKey, nKeyLength)) {
*pData = p->pData;
return SUCCESS;
}
}
p = p->pNext;
}
return FAILURE;
}
Reproduce code:
---------------
http://paste.php.lv/429
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25788&edit=1