]> granicus.if.org Git - postgresql/commit
Fix crash of to_tsvector() function on huge input: compareWORD()
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:39:15 +0000 (10:39 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:39:15 +0000 (10:39 +0000)
commit76e114a458a29aab68ccf466b9e95f9dbac8a033
tree87e0ea6f2e1efa2cd03af67ea843eb4460c44de4
parent46dcd202ef39374a57d9f8278399bcb315428ecb
Fix crash of to_tsvector() function on huge input: compareWORD()
function didn't return correct result for word position greate than
limit.

Per report from Stuart Bishop <stuart@stuartbishop.net>
contrib/tsearch2/tsvector.c