diff options
author | The 8472 <git@infinite-source.de> | 2023-01-16 21:39:36 +0100 |
---|---|---|
committer | The 8472 <git@infinite-source.de> | 2023-01-17 22:01:33 +0100 |
commit | 47014b1bb968be08923a670b1ebfe4deb4256601 (patch) | |
tree | acff87ab6d745ea43d48a0eaf2c7a907b893e185 /tests/rustdoc-js-std/parser-errors.js | |
parent | 481725984b4cd94ef5c00917b01c1771b6e5299c (diff) | |
download | rust-47014b1bb968be08923a670b1ebfe4deb4256601.tar.gz |
Don't do pointer arithmetic on pointers to deallocated memory
vec::Splice can invalidate the slice::Iter inside vec::Drain.
So we replace them with dangling pointers which, unlike ones to
deallocated memory, are allowed.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions