pgsql: Defend against non-ASCII letters in fuzzystrmatch code.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Defend against non-ASCII letters in fuzzystrmatch code.
Date: 2009-04-07 15:54:16
Message-ID: 20090407155416.6DD757540F5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Defend against non-ASCII letters in fuzzystrmatch code. The functions
still don't behave very sanely for multibyte encodings, but at least
they won't be indexing off the ends of static arrays.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/contrib/fuzzystrmatch:
fuzzystrmatch.h (r1.11 -> r1.11.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/fuzzystrmatch/fuzzystrmatch.h?r1=1.11&r2=1.11.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-04-07 15:54:22 pgsql: Defend against non-ASCII letters in fuzzystrmatch code.
Previous Message Tom Lane 2009-04-07 15:54:07 pgsql: Defend against non-ASCII letters in fuzzystrmatch code.