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

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

Commit: 1b40567c553cdf6d2aa32f368df383b17b7b4da8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-04-07T15:54:30Z
Releases: 7.4.26
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 +28 −10