]> granicus.if.org Git - postgresql/commit
fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Sep 2003 13:32:33 +0000 (13:32 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 22 Sep 2003 13:32:33 +0000 (13:32 +0000)
commit0b1ee9b5a3b56724b4ee23dbbfb083b540aed8e4
tree5162472dce08edadd3ecb4e551f9c73a7180a3c7
parent22c0b1f0f40799adc4cb25017da7c7d11598e5d7
fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.

The 'word' variable there is initialised from
the prs->words array, but immediately after,
that array may be reallocated, thus leaving
word pointing to unallocated memory.
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/ts_cfg.c