File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ PHP NEWS
33
33
. Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
34
34
gives Segmentation fault). (Laruence, Gustavo)
35
35
36
+ - Enchant:
37
+ . Fixed bug #62838 (enchant_dict_quick_check() destroys zval, but fails to
38
+ initialize it). (Tony, Mateusz Goik).
39
+
36
40
19 Jul 2012, PHP 5.3.15
37
41
38
42
- Zend Engine:
Original file line number Diff line number Diff line change @@ -729,6 +729,7 @@ PHP_FUNCTION(enchant_dict_quick_check)
729
729
730
730
if (sugg ) {
731
731
zval_dtor (sugg );
732
+ array_init (sugg );
732
733
}
733
734
734
735
PHP_ENCHANT_GET_DICT ;
@@ -742,8 +743,6 @@ PHP_FUNCTION(enchant_dict_quick_check)
742
743
RETURN_FALSE ;
743
744
}
744
745
745
- array_init (sugg );
746
-
747
746
suggs = enchant_dict_suggest (pdict -> pdict , word , wordlen , & n_sugg_st );
748
747
memcpy (& n_sugg , & n_sugg_st , sizeof (n_sugg ));
749
748
if (suggs && n_sugg ) {
You can’t perform that action at this time.
0 commit comments