Bug #62838 [Asn->Csd]: enchant_dict_quick_check() destroys zval, but fails to initialized it
| From: | tony2001@php.net | Date: | Thu, 16 Aug 2012 10:43:29 +0000 |
| Subject: | Bug #62838 [Asn->Csd]: 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-172635@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: Assigned
+Status: Closed
Type: Bug
Package: Enchant related
PHP Version: 5.4Git-2012-08-16 (Git)
Assigned To: tony2001
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-08-16 10:41:21] tony2001@php.net
Automatic comment on behalf of tony2001
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8649e4236b12ce9b90356a5804be96bd1f67bcd6
Log: Fixed bug #62838
------------------------------------------------------------------------
[2012-08-16 10:40:59] tony2001@php.net
Automatic comment on behalf of tony2001
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8649e4236b12ce9b90356a5804be96bd1f67bcd6
Log: Fixed bug #62838
------------------------------------------------------------------------
[2012-08-16 10:40:34] tony2001@php.net
Automatic comment on behalf of tony2001
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8649e4236b12ce9b90356a5804be96bd1f67bcd6
Log: Fixed bug #62838
------------------------------------------------------------------------
[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