diff options
author | Gisle Aas <gisle@aas.no> | 2004-12-05 18:59:24 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-09 17:12:12 +0000 |
commit | 618432450ee258c0a450666f1fd0f5b5f5dafcb8 (patch) | |
tree | 1234ac436d25f666d5431f59d98199ee21c2c2e9 /utf8.h | |
parent | fbadb8fa63a268309e194a1a88ab374218e944d9 (diff) | |
download | perl-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |