]> git.saurik.com Git - wxWidgets.git/commit - src/common/fileconf.cpp
Don't crash when input is empty in wxFileConfig(wxInputStream) ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jan 2010 13:22:14 +0000 (13:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jan 2010 13:22:14 +0000 (13:22 +0000)
commit975fb32b5cac366ad89be9c1d42cca9a789e1802
treebd1e4044a84a1f4561a3eb0f86b9aa9adda58135
parent03cc29918fa6d727cf4d635126adaeaca405f9af
Don't crash when input is empty in wxFileConfig(wxInputStream) ctor.

Fix crash due to dereferencing a NULL pointer when the input buffer in
wxFileConfig ctor is empty.

Closes #11636.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/common/fileconf.cpp
tests/config/fileconf.cpp