Skip to content

野指针crash #36

@jseanj

Description

@jseanj

调用get_all_leak_ptrs方法中的代码:

qleak_ptrs_hashmap->removePtr(current->address,NULL,NULL);

removePtr中释放了current所指向的内存,但是外面的current指针并没有置NULL,导致野指针crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions