pgsql: Fix crash of to_tsvector() function on huge input: compareWORD() - Mailing list pgsql-committers

From teodor@postgresql.org (Teodor Sigaev)
Subject pgsql: Fix crash of to_tsvector() function on huge input: compareWORD()
Date
Msg-id 20070926103053.D7C7C753E4C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/contrib/tsearch2:
        tsvector.c (r1.15.2.5 -> r1.15.2.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsvector.c?r1=1.15.2.5&r2=1.15.2.6)

pgsql-committers by date:

Previous
From: teodor@postgresql.org (Teodor Sigaev)
Date:
Subject: pgsql: Fix crash of to_tsvector() function on huge input: compareWORD()
Next
From: teodor@postgresql.org (Teodor Sigaev)
Date:
Subject: pgsql: Fix crash of to_tsvector() function on huge input: compareWORD()