aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-10-23 13:11:37 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-10-23 13:11:37 -0400
commitf09369da8c69c78b1a3ce9cd99162cce51bb816f (patch)
tree0d6d3385d69bbf74c42d3bf188122de20b908544 /src/backend/commands/dbcommands.c
parentf904e9afde394cfb753530ecd93725364624b414 (diff)
downloadpostgresql-f09369da8c69c78b1a3ce9cd99162cce51bb816f.tar.gz
postgresql-f09369da8c69c78b1a3ce9cd99162cce51bb816f.zip
Improve ispell dictionary's defenses against bad affix files.
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.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions