Skip to content

memdebug: log pointer before freeing its data - #3671

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/coverity-memdebug
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/coverity-memdebug

Conversation

@bagder

@bagder bagder commented Mar 12, 2019 •

Copy link
Copy Markdown
Member

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

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 March 12, 2019 20:45
@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.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants