]> granicus.if.org Git - postgresql/commit
Defend against non-ASCII letters in fuzzystrmatch code. The functions
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:54:22 +0000 (15:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2009 15:54:22 +0000 (15:54 +0000)
commitc58da6562845a9b8e4df7dd3f3ae0d95b6c1e267
treeb37ac5193843f9e353a9e972f934a95f8fab9e70
parent27cc7db660e0443b44dd630ce396644328b7335d
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