postgresql/src
Tom Lane f09369da8c 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.
2014-10-23 13:11:37 -04:00
..
backend Improve ispell dictionary's defenses against bad affix files. 2014-10-23 13:11:37 -04:00
bin Fix core dump in pg_dump --binary-upgrade on zero-column composite type. 2014-10-17 12:49:09 -04:00
include Flush unlogged table's buffers when copying or moving databases. 2014-10-20 23:47:00 +02:00
interfaces Ensure libpq reports a suitable error message on unexpected socket EOF. 2014-10-22 18:41:54 -04:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:13:46 -05:00
pl Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:02:18 -04:00
port Suppress dead, unportable src/port/crypt.c code. 2014-10-12 23:27:25 -04:00
template Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
test Support timezone abbreviations that sometimes change. 2014-10-16 15:22:20 -04:00
timezone Support timezone abbreviations that sometimes change. 2014-10-16 15:22:20 -04:00
tools MSVC: Substitute $(top_builddir) in REGRESS_OPTS. 2014-07-23 00:35:57 -04:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Revert "Backpatch pgxs vpath build and installation fixes (v2)" 2013-10-07 22:37:26 -04:00
Makefile.shlib fix whitespace 2014-02-01 16:30:18 -05:00
nls-global.mk Lots of doc corrections. 2012-04-23 22:43:09 -04:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00