[ wxwindows-Bugs-1873285 ] wxBitmap constructors crash

SourceForge.net noreply at sourceforge.net
Tue Feb 26 23:57:19 PST 2008


Bugs item #1873285, was opened at 2008-01-17 00:05
Message generated for change (Comment added) made by csomor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1873285&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Fatal
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Hartwig Wiesmann (hwiesmann)
Assigned to: Stefan Csomor (csomor)
Summary: wxBitmap constructors crash

Initial Comment:
When the wxBitmap constructors or wxBitmap::Create method cannot allocate memory for the bitmap they will crash because the validity of the memory pointer for the bitmap data is not checked.

The error occurs in 2.8.7 and higher versions (and probably also in all older versions).

Hartwig

PS: Patch against latest 2.8 branch is attached.


----------------------------------------------------------------------

>Comment By: Stefan Csomor (csomor)
Date: 2008-02-27 08:57

Message:
Logged In: YES 
user_id=81467
Originator: NO

applied with thanks

Stefan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1873285&group_id=9863




More information about the wx-dev mailing list