Bug #62838 [Opn->Asn]: enchant_dict_quick_check() destroys zval, but fails to initialized it

From: Date: Thu, 16 Aug 2012 10:28:50 +0000
Subject: Bug #62838 [Opn->Asn]: enchant_dict_quick_check() destroys zval, but fails to initialized it
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172634@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62838&edit=1 ID: 62838 Updated by: tony2001@php.net Reported by: tony2001@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] tony2001@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

« previous php.bugs (#172634) next »