about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2017-09-23 21:19:01 -0700
committerSteven Fackler <sfackler@gmail.com>2017-09-23 21:19:01 -0700
commit9733463d2b141a166bfa2f55ec316066ab0f71b6 (patch)
tree95667fc249765b7f89f7ab7499d933e42ad68bcc /src/rustllvm/ArchiveWrapper.cpp
parent24831c7221c7b4e32a02f8e8cffe7dfacb88b520 (diff)
downloadrust-9733463d2b141a166bfa2f55ec316066ab0f71b6.tar.gz
rust-9733463d2b141a166bfa2f55ec316066ab0f71b6.zip
Fix capacity comparison in reserve
You can otherwise end up in a situation where you don't actually resize
but still call into handle_cap_increase which then corrupts head/tail.

Closes #44800
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions