diff options
| author | blake2-ppc <blake2-ppc> | 2013-09-12 05:00:25 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-09-17 02:48:00 +0200 |
| commit | e211888407db32fcec53f4fa9eb84acdbdf59f87 (patch) | |
| tree | 74b7b8aae3027586895cb1717c9a93eb751fbcd0 /src/rt/rust_uv.cpp | |
| parent | 6e538edea2557018c3c8eae41aacf6cdf6370a4d (diff) | |
| download | rust-e211888407db32fcec53f4fa9eb84acdbdf59f87.tar.gz rust-e211888407db32fcec53f4fa9eb84acdbdf59f87.zip | |
std::at_vec: Fix segfault on overflow when resizing ~[@T]
Easy to reproduce:
let mut v = ~[@1];
v.resize(-1); // success a.k.a silent failure
v.push(@2); // segfault
Diffstat (limited to 'src/rt/rust_uv.cpp')
0 files changed, 0 insertions, 0 deletions
