Defend against non-ASCII letters in fuzzystrmatch code. The functions

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a1fd16a5f6b1ad2fbc7004c9a9ca811e7600abd1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-04-07T15:54:01Z
Releases: 8.3.8
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.

Files

PathChange+/−
contrib/fuzzystrmatch/fuzzystrmatch.h modified +29 −11