Thread: pgsql: Fix crash of to_tsvector() function on huge input: compareWORD()

pgsql: Fix crash of to_tsvector() function on huge input: compareWORD()

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
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>

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2:
        tsvector.c (r1.4.4.3 -> r1.4.4.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.c?r1=1.4.4.3&r2=1.4.4.4)