Ticket #14380 (closed defect: fixed)
wxThreadEvent can corrupt its wxString member in its copy constructor
| Reported by: | sodev | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | base | Version: | 2.9-svn |
| Keywords: | wxThreadEvent | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
wxThreadEvent uses the method c_str() of wxString to create a copy of its wxString member in its copy constructor which truncates the string after the first embedded zero. The attached patch fixes this by using the proper Clone() method instead.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

