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

Started by Tom Laneover 17 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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_2_STABLE

Modified Files:
--------------
pgsql/contrib/fuzzystrmatch:
fuzzystrmatch.h (r1.14 -> r1.14.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/fuzzystrmatch/fuzzystrmatch.h?r1=1.14&r2=1.14.2.1)