We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
In alloc::heap::reallocate there is this line:
ptr::copy_memory(new_ptr, ptr as *const u8, old_size);
It is completely busted when new_size < old_size
new_size < old_size