Defend against non-ASCII letters in fuzzystrmatch code. The functions
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:54:07 +0000 (15:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:54:07 +0000 (15:54 +0000)
commit6a42ab4eb8dc0b192f61671890bd34d495426f96
treed886a002f868e4ab556f9339df1f30405169e43f
parent4bc176deae5a6a7e6ac55d79f0cc28591bc4ae38
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.h