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

memdebug: log pointer before freeing its data #3671

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@bagder
Copy link
Member

commented Mar 12, 2019

Coverity warned for two potentional "Use after free" cases. Both are false
positives because the memory wasn't used, it was only the actual pointer
value that was logged.

The fix still changes the order of execution to avoid the warnings.

Coverity CID 1443033 and 1443034

memdebug: log pointer before freeing its data
Coverity warned for two potention "Use after free" cases. Both are false
positives because the memory wasn't used, it was only the actual pointer
value that was logged.

The fix still changes the order of execution to avoid the warnings.

Coverity CID 1443033 and 1443034

@bagder bagder closed this in 401cb92 Mar 12, 2019

@bagder bagder deleted the bagder/coverity-memdebug branch Mar 12, 2019

@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.