Ticket #11636 (closed defect: fixed)
wxFileConfig crashes when reading from empty file via wxFileInputStream
| Reported by: | lmichalski | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | base | Version: | 2.9-svn |
| Keywords: | wxFileConf stream | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
To reproduce:
wxFFile cfile;
cfile.Open("config.ini","w");
cfile.Close();
new wxFileConfig(cfile)
Attached patch fixes this problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

