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

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




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

[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