diff options
| author | bors <bors@rust-lang.org> | 2013-07-30 12:16:20 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-30 12:16:20 -0700 |
| commit | 436d9fa45d7df98f49bc036de4254d5946478c5c (patch) | |
| tree | 6cb0e41fd912d3ac46b9ad0bf35cdd32e4bf06f2 /src/rt/rust_builtin.cpp | |
| parent | 0068bd73e0b8a22d59ec3a979bba2376964c2dae (diff) | |
| parent | 8f9014c15996321d214a84e0fcd6437874e87483 (diff) | |
| download | rust-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
