php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29580 Typo in zend_hash.c
Submitted: 2004-08-09 03:20 UTC Modified: 2004-08-09 03:44 UTC
From: juergennagel at web dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0 OS: Gentoo Linux (Linux 2.4.7)
Private report: No CVE-ID: None
 [2004-08-09 03:20 UTC] juergennagel at web dot de
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:
----------------
 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-09 03:44 UTC] gschlossnagle@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

hardened php is not part of the PHP project, you should 
report this to the hardened php developer.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 02:01:30 2024 UTC