Closed
Bug 52986
Opened 25 years ago
Closed 25 years ago
crash in GTK gfx code if XGetImage fails
Categories
(Core :: XUL, defect, P3)
Tracking
()
People
(Reporter: fosterd, Assigned: tor)
Details
Attachments
(1 file)
767 bytes,
patch
|
Details | Diff | Splinter Review |
We allocate an XImage here:
http://lxr.mozilla.org/seamonkey/source/gfx/src/gtk/nsImageGTK.cpp#717
and then use it without checking to see if it was actually allocated. This is
causing crashes for me; I can only reproduce them using my own skin though (I
can add the URL for that if you think I'm at fault). I'm attaching a patch which
just checks the ximage with an assertion after we call XGetImage. Assigning to
tor based on cvs blame.
Reporter | ||
Comment 1•25 years ago
|
||
*** This bug has been marked as a duplicate of 52275 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•