]> git.lizzy.rs Git - rust.git/commit
fix handling of unsized types in validation; validate str to be UTF-8
authorRalf Jung <post@ralfj.de>
Sat, 25 Aug 2018 12:36:24 +0000 (14:36 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 27 Aug 2018 16:12:49 +0000 (18:12 +0200)
commitc898e1911d3e7280441839762a86ea351f3fdae5
tree20886a6d75c10dd69e97d17d97dd92def97aff75
parent89cfd08b47f38f2721a00bd0a2ba2fce6f530c79
fix handling of unsized types in validation; validate str to be UTF-8
12 files changed:
src/librustc_mir/const_eval.rs
src/librustc_mir/interpret/eval_context.rs
src/librustc_mir/interpret/intrinsics.rs
src/librustc_mir/interpret/mod.rs
src/librustc_mir/interpret/operand.rs
src/librustc_mir/interpret/place.rs
src/librustc_mir/interpret/step.rs
src/librustc_mir/interpret/terminator.rs
src/librustc_mir/interpret/traits.rs
src/librustc_mir/interpret/validity.rs
src/test/ui/union-ub-fat-ptr.rs
src/test/ui/union-ub-fat-ptr.stderr