]> git.saurik.com Git - wxWidgets.git/commit
Avoid using buffer of already deallocated string in wxHTMLDataObject.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jul 2013 00:38:41 +0000 (00:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Jul 2013 00:38:41 +0000 (00:38 +0000)
commit8472511246c9160d4ff40ab86f635fc67c10b54a
treecfe2229c25ca6e8183a32f818ea1d0c7c9bc322e
parent38aae140acbfd562df1388ae76108efcc52f871c
Avoid using buffer of already deallocated string in wxHTMLDataObject.

Ensure that the temporary string inside which the pointer returned by
utf8_str() may point remains alive for long enough.

Closes #15279.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/dobjcmn.cpp