Skip to content

liballoc broken w/o jemalloc #16687

@pnkfelix

Description

@pnkfelix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions