Edit report at https://bugs.php.net/bug.php?id=62838&edit=1

 ID:                 62838
 Updated by:         tony2...@php.net
 Reported by:        tony2...@php.net
 Summary:            enchant_dict_quick_check() destroys zval, but fails
                     to initialized it
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            Enchant related
 PHP Version:        5.4Git-2012-08-16 (Git)
-Assigned To:        
+Assigned To:        tony2001
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-08-16 10:28:36] tony2...@php.net

Description:
------------
enchant_dict_quick_check() destroys zval, but doesn't initialize it when 
passing invalid enchant resource.
Initially reported by Mateusz Goik.

Test script:
---------------
<?
$a = array();
enchant_dict_quick_check(STDIN, 0, $a);
array_splice($a,0, 0,0);
?>


Actual result:
--------------
/local/qa/5_4_ZTS/Zend/zend_hash.c(1055) : ht=0x7f6745191038 is inconsistent



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



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62838&edit=1

Reply via email to