summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2004-12-05 18:59:24 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-12-09 17:12:12 +0000
commit618432450ee258c0a450666f1fd0f5b5f5dafcb8 (patch)
tree1234ac436d25f666d5431f59d98199ee21c2c2e9 /utf8.h
parentfbadb8fa63a268309e194a1a88ab374218e944d9 (diff)
downloadperl-618432450ee258c0a450666f1fd0f5b5f5dafcb8.tar.gz
UTF8_ALLOW_ANYUV should not allow overlong sequences [PATCH]
Message-ID: <lrmzwrae0j.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@23632
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index d5a884519e..376280d3e4 100644
--- a/utf8.h
+++ b/utf8.h
@@ -183,8 +183,7 @@ encoded character.
#define UTF8_ALLOW_FFFF 0x0040 /* Allows also FFFE. */
#define UTF8_ALLOW_LONG 0x0080
#define UTF8_ALLOW_ANYUV (UTF8_ALLOW_EMPTY|UTF8_ALLOW_FE_FF|\
- UTF8_ALLOW_SURROGATE|\
- UTF8_ALLOW_FFFF|UTF8_ALLOW_LONG)
+ UTF8_ALLOW_SURROGATE|UTF8_ALLOW_FFFF)
#define UTF8_ALLOW_ANY 0x00FF
#define UTF8_CHECK_ONLY 0x0200