about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-30 12:16:20 -0700
committerbors <bors@rust-lang.org>2013-07-30 12:16:20 -0700
commit436d9fa45d7df98f49bc036de4254d5946478c5c (patch)
tree6cb0e41fd912d3ac46b9ad0bf35cdd32e4bf06f2 /src/rt/rust_builtin.cpp
parent0068bd73e0b8a22d59ec3a979bba2376964c2dae (diff)
parent8f9014c15996321d214a84e0fcd6437874e87483 (diff)
downloadrust-436d9fa45d7df98f49bc036de4254d5946478c5c.tar.gz
rust-436d9fa45d7df98f49bc036de4254d5946478c5c.zip
auto merge of #8133 : blake2-ppc/rust/overlong-utf8, r=cmr
Fix is_utf8 and UTF-8 char width functions to deny non-canonical 'overlong encodings' in UTF-8.

We address the function is_utf8 to make it more strict and correct, but no changes are made to the handling of invalid UTF-8.

Fixes issue #3787
Diffstat (limited to 'src/rt/rust_builtin.cpp')
0 files changed, 0 insertions, 0 deletions