diff options
| author | kennytm <kennytm@gmail.com> | 2019-06-02 23:30:18 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2019-06-02 23:30:18 +0800 |
| commit | aac9bc5ffac941b5880ad269076169b752a1c7e9 (patch) | |
| tree | 92379da091492a5e542cd6ba4de7654c634129b5 /src/rustllvm/RustWrapper.cpp | |
| parent | be6fc6aca26b7de1f69102a56689dac8b66e38f5 (diff) | |
| download | rust-aac9bc5ffac941b5880ad269076169b752a1c7e9.tar.gz rust-aac9bc5ffac941b5880ad269076169b752a1c7e9.zip | |
copy_within: replace element access by pointer arithmetic to avoid UB
This ensures we won't accidentally read *src or *dest even when count = 0.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
