about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-22 02:20:27 +0100
committerGitHub <noreply@github.com>2021-03-22 02:20:27 +0100
commitda143d38e4e47f53c4745a037563f34d7f3ea6e3 (patch)
treedf67533b7cff66ddb141e8227965e9700c38578b /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent29a53e6e69d5684a598770652e9c170dd4d149d8 (diff)
parentc89e64363ba25a4bf487d71a4ad6e9a8cbe40384 (diff)
downloadrust-da143d38e4e47f53c4745a037563f34d7f3ea6e3.tar.gz
rust-da143d38e4e47f53c4745a037563f34d7f3ea6e3.zip
Rollup merge of #82554 - SkiFire13:fix-string-retain-unsoundness, r=m-ou-se
Fix invalid slice access in String::retain

As noted in #78499, the previous fix was technically still unsound because it accessed elements of a slice outside its bounds (even though they were still inside the same allocation). This PR addresses that concern by switching to a dropguard approach.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions