Skip to content

fix #12781: FP doubleFree with fdopen()#6974

Merged
danmar merged 1 commit intocppcheck-opensource:mainfrom
ludviggunne:12781
Oct 30, 2024
Merged

fix #12781: FP doubleFree with fdopen()#6974
danmar merged 1 commit intocppcheck-opensource:mainfrom
ludviggunne:12781

Conversation

@ludviggunne
Copy link
Copy Markdown
Collaborator

No description provided.

@danmar danmar merged commit 0771203 into cppcheck-opensource:main Oct 30, 2024
Comment thread test/testleakautovar.cpp
ASSERT_EQUALS("[test.c:4]: (error) Resource leak: q\n", errout_str());
}

void fdopen() { // #12781
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this test is effective since posix.cfg doesn't seem to be loaded.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix: #6980

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.

3 participants