ID:               25788
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marrtins at hackers dot lv
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: w2k sp4
 PHP Version:      4CVS-2003-10-08 (stable)
 New Comment:

Your script is buggy. Can not reproduce using the internal session
handler.



Previous Comments:
------------------------------------------------------------------------

[2003-11-26 04:06:34] marrtins at hackers dot lv

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

------------------------------------------------------------------------

[2003-11-25 15:31:24] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to