Defend against non-ASCII letters in fuzzystrmatch code. The functions
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:53:54 +0000 (15:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:53:54 +0000 (15:53 +0000)
commit8c9977b0b8973fa268509256738d65063e88bfea
treeeccd02a1e3a8ed68fe7f0582e3fdd2ed349490a6
parentf358e6131448a60c092acec2169858ac8d46349c
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.
contrib/fuzzystrmatch/fuzzystrmatch.c