mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 626195 - Hunspell topcrash [@ AffixMgr::suffix_check ]. r=ehsan, a=blocking-final+
--HG-- extra : rebase_source : 0de9e63da54030544a4e667eb6d32988d688f97a
This commit is contained in:
parent
727c1bc347
commit
b0453d9ad0
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user