diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-10-06 23:45:25 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-10-06 23:48:55 +0200 |
| commit | 23d3ff1b9756c768c4412dcd1d80cff0617fd5c5 (patch) | |
| tree | 3dfa942bea1445703fc9873ffccdf3282c44d023 /src/liballoc/tests | |
| parent | 421bd77f42c2fe8a2596dbcc1580ec97fb89009f (diff) | |
| download | rust-23d3ff1b9756c768c4412dcd1d80cff0617fd5c5.tar.gz rust-23d3ff1b9756c768c4412dcd1d80cff0617fd5c5.zip | |
Fix zero-size uninitialized boxes
Requesting a zero-size allocation is not allowed, return a dangling pointer instead. CC https://github.com/rust-lang/rust/issues/63291#issuecomment-538692745
Diffstat (limited to 'src/liballoc/tests')
0 files changed, 0 insertions, 0 deletions
