about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-07-30 17:17:21 +0200
committerblake2-ppc <blake2-ppc>2013-07-30 17:25:29 +0200
commit6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf (patch)
tree0176c049a16a20097efda6cb22a89e76b0d16a66 /src/rt/rust_stack.cpp
parent576f395ddfe3a47859df0419a0366abf7a8c185b (diff)
downloadrust-6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf.tar.gz
rust-6dd185930d850b653ae4e5f4c37c3f1a2b64e4cf.zip
std: Disallow bytes 0xC0, 0xC1 (192, 193) in utf-8
Bytes 0xC0, 0xC1 can only be used to start 2-byte codepoint encodings,
that are 'overlong encodings' of codepoints below 128.

The reference given in a comment -- https://tools.ietf.org/html/rfc3629
-- does in fact already exclude these bytes, so no additional comment
should be needed in the code.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions