| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/aspell/files/ |
Upload File : |
--- modules/speller/default/affix.cpp.orig 2019-10-08 00:15:21 UTC
+++ modules/speller/default/affix.cpp
@@ -798,7 +798,10 @@ bool AffixMgr::suffix_check (const LookupInfo & linf,
if (se->check(linf, word, ci, gi, sfxopts, ppfx)) return true;
se = se->next;
}
-
+
+ if (word.size() == 0)
+ return false;
+
// now handle the general case
byte sp = *((const byte *)(word + word.size() - 1));
SfxEntry * sptr = sStart[sp];