mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-11 18:47:48 +02:00
Don't crash if an ispell dictionary definition contains flags but not any compound affixes. (This isn't a security issue since only superusers can install affix files, but still it's a bad thing.) Also, be more careful about detecting whether an affix-file FLAG command is old-format (ispell) or new-format (myspell/hunspell). And change the error message about mixed old-format and new-format commands into something intelligible. Per bug #11770 from Emre Hasegeli. Back-patch to all supported branches. |
||
---|---|---|
.. | ||
dict_ispell.c | ||
dict_simple.c | ||
dict_synonym.c | ||
dict_thesaurus.c | ||
dict.c | ||
hunspell_sample.affix | ||
ispell_sample.affix | ||
ispell_sample.dict | ||
Makefile | ||
regis.c | ||
spell.c | ||
synonym_sample.syn | ||
thesaurus_sample.ths | ||
to_tsany.c | ||
ts_locale.c | ||
ts_parse.c | ||
ts_selfuncs.c | ||
ts_typanalyze.c | ||
ts_utils.c | ||
wparser_def.c | ||
wparser.c |