diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-18 21:14:45 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-18 21:14:45 +0530 |
| commit | e423a6f5f01c362ac7aacaaa86b12bd52f52d512 (patch) | |
| tree | 0a26f06a1e674589c68664c8c2fc18e1c47250d8 /src/test/codegen | |
| parent | a027b01f33e3280dff1a7be09d6090151d3f78a9 (diff) | |
| parent | 080a53a9533de30c614f37d006985c2f26fd30e7 (diff) | |
| download | rust-e423a6f5f01c362ac7aacaaa86b12bd52f52d512.tar.gz rust-e423a6f5f01c362ac7aacaaa86b12bd52f52d512.zip | |
Rollup merge of #99198 - RalfJung:alloc-null-ptr, r=JohnTitor
add missing null ptr check in alloc example `alloc` can return null on OOM, if I understood correctly. So we should never just deref a pointer we get from `alloc`.
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
