Bug 631607 - Crash while spell checking with French modern dictionary 4.0.3 [@ mozalloc_abort(char const* const) ][@ mozalloc_abort(char const* const) | mozalloc_handle_oom() ]; r=jst a=blocking-betaN+

This commit is contained in:
Ehsan Akhgari 2011-02-08 18:01:06 -05:00
parent 397c62c046
commit 0dc5d22884
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@
******* END LICENSE BLOCK *******
Hunspell Version: 1.2.12
Additional Patches: 583582, 586671, 586686, 603311, 617953, 626195
Additional Patches: 583582, 586671, 586686, 603311, 617953, 626195, 631607
Hunspell Author: László Németh
MySpell Author: Kevin Hendricks & David Einstein

View File

@ -1013,10 +1013,12 @@ int Hunspell::suggest(char*** slst, const char * word)
if (strcmp((*slst)[k], (*slst)[j]) == 0) {
free((*slst)[j]);
l--;
break;
}
}
l++;
}
ns = l;
// output conversion
rl = (pAMgr) ? pAMgr->get_oconvtable() : NULL;