зеркало из 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
|
||||
|
|
|
@ -2476,8 +2476,9 @@ struct hentry * AffixMgr::suffix_check (const char * word, int len,
|
|||
}
|
||||
se = se->getNext();
|
||||
}
|
||||
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2543,8 +2544,9 @@ struct hentry * AffixMgr::suffix_check_twosfx(const char * word, int len,
|
|||
}
|
||||
se = se->getNext();
|
||||
}
|
||||
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2605,8 +2607,9 @@ char * AffixMgr::suffix_check_twosfx_morph(const char * word, int len,
|
|||
}
|
||||
se = se->getNext();
|
||||
}
|
||||
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
@ -2711,8 +2714,9 @@ char * AffixMgr::suffix_check_morph(const char * word, int len,
|
|||
}
|
||||
se = se->getNext();
|
||||
}
|
||||
|
||||
|
||||
// now handle the general case
|
||||
if (len == 0) return NULL; // FULLSTRIP
|
||||
unsigned char sp = *((const unsigned char *)(word + len - 1));
|
||||
SfxEntry * sptr = sStart[sp];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче