aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-10-23 13:11:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-10-23 13:11:31 -0400
commit1cf54b00ba2100083390223a8244430643c1ec07 (patch)
tree21e54c737a56a80c2326488c6de18b4e7c4038ad /src/backend/utils/adt/numeric.c
parent6d12cc1f01c867fd7317ac5580b02c04f313d9ce (diff)
downloadpostgresql-1cf54b00ba2100083390223a8244430643c1ec07.tar.gz
postgresql-1cf54b00ba2100083390223a8244430643c1ec07.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/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions