Skip to content

fixed use after free#34

Open
kamisori wants to merge 1 commit intodfranx:mainfrom
kamisori:use-of-p-after-m_content.clear
Open

fixed use after free#34
kamisori wants to merge 1 commit intodfranx:mainfrom
kamisori:use-of-p-after-m_content.clear

Conversation

@kamisori
Copy link

ran my app with valgrind and it found a use after free with line 930 to blame which drops p before it is then used in lines 942, 944, 949 and 951:

930:

m_content.clear(); // p == "" after this line, due to reference

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.

1 participant