DescriptionDereference and std::move in same param list == top crasher
Fix a top crasher (2016/10/20) caused by defer of a unique_ptr and a std::move of the same unique_ptr in the same parameter list. The order of evalulation is unspecified, so this is unsafe.
BUG=657778
R=ajha@chromium.org, avi@chromium.org
Review-Url: https://chromiumcodereview.appspot.com/2437123002
Cr-Commit-Position: refs/heads/master@{#426553}
(cherry picked from commit 884c98b01d2daebaa2f519300d3f64b2850f31fe)
Committed: https://chromium.googlesource.com/chromium/src/+/99267e28b9e6977de841fef3d3ee62f8d028718a
Patch Set 1 #
Messages
Total messages: 3 (1 generated)
|