Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

野指针crash #36

Open
jseanj opened this issue Aug 7, 2019 · 4 comments
Open

野指针crash #36

jseanj opened this issue Aug 7, 2019 · 4 comments

Comments

@jseanj
Copy link

jseanj commented Aug 7, 2019

调用get_all_leak_ptrs方法中的代码:

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

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

@rosen0510
Copy link
Collaborator

thanks for feedback!we all fix it later!

@magicsoft
Copy link

我这边也是在get_all_leak_ptrs中的 merge_leaked_stack_t *merge_stack = qleak_stacks_hashmap->lookupStack(current->digest) 处闪退了,忘尽快修复!

@JethroYe
Copy link

@jseanj HI,请问这个问题你解决了么

@OspreyRen
Copy link

这是没人维护了么。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants