зеркало из https://github.com/mozilla/pjs.git
Bug 626195 - Hunspell topcrash [@ AffixMgr::suffix_check ]. r=ehsan, a=blocking-final+
--HG-- extra : rebase_source : 0de9e63da54030544a4e667eb6d32988d688f97a
This commit is contained in:
Родитель
bb34733c4a
Коммит
d649b5aa65
|
@ -36,7 +36,7 @@
|
|||
******* END LICENSE BLOCK *******
|
||||
|
||||
Hunspell Version: 1.2.12
|
||||
Additional Patches: 583582
|
||||
Additional Patches: 583582, 586671, 586686, 603311, 617953, 626195
|
||||
|
||||
Hunspell Author: László Németh
|
||||
MySpell Author: Kevin Hendricks & David Einstein
|
||||
|
|
|
@ -2478,6 +2478,7 @@ struct hentry * AffixMgr::suffix_check (const char * word, int len,
|
|||
}
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2545,6 +2546,7 @@ struct hentry * AffixMgr::suffix_check_twosfx(const char * word, int len,
|
|||
}
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2607,6 +2609,7 @@ char * AffixMgr::suffix_check_twosfx_morph(const char * word, int len,
|
|||
}
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2713,6 +2716,7 @@ char * AffixMgr::suffix_check_morph(const char * word, int len,
|
|||
}
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче