about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrandon Sanderson <singingboyo@gmail.com>2014-11-05 15:05:01 -0800
committerBrandon Sanderson <singingboyo@gmail.com>2014-11-06 10:42:40 -0800
commitd80a62d84bc9fbc9ae7c8bd300bf5416249b51f7 (patch)
treeaa89a6df3261fd315f2667f4dc794f38bbbccfd7 /src/rustllvm/RustWrapper.cpp
parent60a669a1743b845dfa349684ef057bc98ec6d840 (diff)
downloadrust-d80a62d84bc9fbc9ae7c8bd300bf5416249b51f7.tar.gz
rust-d80a62d84bc9fbc9ae7c8bd300bf5416249b51f7.zip
Fix soundness hole in struct with expressions.
Fixes #18567. Struct{x:foo, .. with_expr} did not walk with_expr, which allowed
using moved variables in some cases.  The CFG for structs also built up with
with_expr happening before the fields, which is now reversed. (Fields are now
before the with_expr in the CFG)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions