From: juergennagel at web dot de
Operating system: Gentoo Linux (Linux 2.4.7)
PHP version: 5.0.0
PHP Bug Type: Compile Failure
Bug description: Typo in zend_hash.c
Description:
------------
On line 165 of zend_hash.c there's a right parenthesis too
many.
Reproduce code:
---------------
#if HARDENED_PHP_HASH_PROTECT
if (zend_hash_canary_inited)) {
zend_hash_canary = zend_canary();
zend_hash_canary_inited = 1;
}
ht->canary = zend_hash_canary;
#endif
the second line should be:
if (zend_hash_canary_inited) {
Expected result:
----------------
--
Edit bug report at http://bugs.php.net/?id=29580&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29580&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29580&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29580&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29580&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29580&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29580&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29580&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29580&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29580&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29580&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29580&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29580&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29580&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29580&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29580&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29580&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29580&r=float