diff options
author | Lukas Larsson <[email protected]> | 2013-02-19 18:21:44 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-19 18:21:44 +0100 |
commit | ebc66af659af6f33847e1603c5f2257d5379eaf4 (patch) | |
tree | 35b255a07b6b15eb7b4411a20bd612b933389204 /erts | |
parent | a9f6b92e7468c4dab5650c3e6f67db2e32d08752 (diff) | |
parent | 70893a35ab7d11f574059666df9a7b46f70c9311 (diff) | |
download | otp-ebc66af659af6f33847e1603c5f2257d5379eaf4.tar.gz otp-ebc66af659af6f33847e1603c5f2257d5379eaf4.tar.bz2 otp-ebc66af659af6f33847e1603c5f2257d5379eaf4.zip |
Merge branch 'lukas/hipe/fix-utf32-binary/OTP-10867'
* lukas/hipe/fix-utf32-binary/OTP-10867:
noncharacter code points are allowed
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/hipe/hipe_native_bif.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c index 3be821f8f7..af1c36777f 100644 --- a/erts/emulator/hipe/hipe_native_bif.c +++ b/erts/emulator/hipe/hipe_native_bif.c @@ -503,9 +503,7 @@ static int validate_unicode(Eterm arg) { if (is_not_small(arg) || arg > make_small(0x10FFFFUL) || - (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL)) || - arg == make_small(0xFFFEUL) || - arg == make_small(0xFFFFUL)) + (make_small(0xD800UL) <= arg && arg <= make_small(0xDFFFUL))) return 0; return 1; } |