Skip to content

Fix heap-use-after-free for IPCProxyBinderBase#324

Open
zusage wants to merge 10 commits into
Pelagicore:masterfrom
zusage:fix_heap_after_use_IPCProxyBinderBase
Open

Fix heap-use-after-free for IPCProxyBinderBase#324
zusage wants to merge 10 commits into
Pelagicore:masterfrom
zusage:fix_heap_after_use_IPCProxyBinderBase

Conversation

@zusage

@zusage zusage commented Nov 2, 2020

Copy link
Copy Markdown
Collaborator

No description provided.

Oleksandr Kunichik and others added 6 commits October 26, 2020 13:00
Co-authored-by: Radoslaw Buczkowski <rbuczkowski@luxoft.com>
Listener context object was already deleted, but not yet removed from registry
at the point of notifyListeners call, which causes undefined behavior.
Applications does not have to crash because the memory is still accessible, but
they may crash at some point. Added temporary protection mechanism.

Co-authored-by: Radoslaw Buczkowski <rbuczkowski@luxoft.com>
@zusage
zusage requested a review from bitmouse November 2, 2020 10:52
Comment thread src/ipc/ipc-common/IPCProxyBinderBase.cpp Outdated
@zusage
zusage force-pushed the fix_heap_after_use_IPCProxyBinderBase branch from d2f7a1e to aa697ac Compare November 2, 2020 11:06
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

Successfully merging this pull request may close these issues.

2 participants