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().

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