Thread: pgsql: Fix core dump of ispell for case of non-successfull

pgsql: Fix core dump of ispell for case of non-successfull

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Fix core dump of ispell for case of non-successfull initialization.
Previous versions aren't affected.

Fix synonym dictionary init: string should be malloc'ed, not palloc'ed. Bug
introduced recently while fixing lowerstr().

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2:
        dict_syn.c (r1.10 -> r1.10.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_syn.c.diff?r1=1.10&r2=1.10.2.1)
    pgsql/contrib/tsearch2/ispell:
        spell.c (r1.35 -> r1.35.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/spell.c.diff?r1=1.35&r2=1.35.2.1)