mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 710967 - Incorrect argument passed to strncmp in AffixMgr::parse_convtable. r=gavin
This commit is contained in:
parent
0b3e27ea96
commit
abadfb4f84
@ -36,7 +36,7 @@
|
||||
******* END LICENSE BLOCK *******
|
||||
|
||||
Hunspell Version: 1.3.2
|
||||
Additional Patches:
|
||||
Additional Patches: Bug 710967
|
||||
|
||||
Hunspell Author: László Németh
|
||||
MySpell Author: Kevin Hendricks & David Einstein
|
||||
|
@ -3705,7 +3705,7 @@ int AffixMgr::parse_convtable(char * line, FileMgr * af, RepList ** rl, const c
|
||||
if (*piece != '\0') {
|
||||
switch(i) {
|
||||
case 0: {
|
||||
if (strncmp(piece, keyword, sizeof(keyword)) != 0) {
|
||||
if (strncmp(piece, keyword, strlen(keyword)) != 0) {
|
||||
HUNSPELL_WARNING(stderr, "error: line %d: table is corrupt\n", af->getlinenum());
|
||||
delete *rl;
|
||||
*rl = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user