pgsql-server/contrib/tsearch2 ts_cfg.c expecte ...

Started by Nonamealmost 23 years ago1 messagescomitters
Jump to latest
#1Noname
teodor@svr1.postgresql.org

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: teodor@svr1.postgresql.org 03/09/22 10:32:33

Modified files:
contrib/tsearch2: ts_cfg.c
contrib/tsearch2/expected: tsearch2.out

Log message:
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.