]> granicus.if.org Git - postgresql/commit
Fix core dump of ispell for case of non-successfull initialization.
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Dec 2006 09:26:57 +0000 (09:26 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Dec 2006 09:26:57 +0000 (09:26 +0000)
commit6cd9a58480e37e11adf7fa7d406ba118d2a7e4e5
treecd8a36fe696e7e16cba4cdd4ae190db6b513b0bb
parent8dcc8e376149adcfba012a9e9b7b0692bcbff9a2
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().
contrib/tsearch2/dict_syn.c
contrib/tsearch2/ispell/spell.c