]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix crash of to_tsvector() function on huge input: compareWORD()
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:17:34 +0000 (10:17 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 26 Sep 2007 10:17:34 +0000 (10:17 +0000)
commitd77a9018faffc2eed3f163de0b55e96064eaa25f
treee8ca0527b6bc667405f146519fc9bc869a015721
parent189f9a5bb2c7490c98e7a84ade9e20c85e9003e2
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