fix hlfinditem function. Thanks to "Stphane Bidoul" <stephane.bidoul@softwareag.com>.

Teodor Sigaev <teodor@sigaev.ru>

Commit: 0b1ee9b5a3b56724b4ee23dbbfb083b540aed8e4
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2003-09-22T13:32:33Z
Releases: 7.4.1
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.

Files

PathChange+/−
contrib/tsearch2/expected/tsearch2.out modified +5 −5
contrib/tsearch2/ts_cfg.c modified +2 −1