Closed
Bug 803121
Opened 14 years ago
Closed 13 years ago
crash in imgRequestProxy::GetStatusTracker
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
| Tracking | Status | |
|---|---|---|
| firefox18 | --- | unaffected |
| firefox19 | + | fixed |
People
(Reporter: jdm, Assigned: jdm)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
|
22.37 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-f8778e4f-8149-4ef0-920a-545ad2121017 .
=============================================================
The imgRequestProxy destructor uses GetImage, and imgRequestProxyStatic doesn't override this, so we end up doing a null-deref since mOwner is null for static requests.
| Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → josh
| Assignee | ||
Updated•14 years ago
|
Crash Signature: [@ imgRequestProxy::GetStatusTracker()] → [@ imgRequestProxy::GetStatusTracker()]
[@ imgRequest::GetStatusTracker() ]
Updated•14 years ago
|
Keywords: regression
Version: Trunk → 19 Branch
| Assignee | ||
Comment 2•14 years ago
|
||
I was wrong; we're using virtual functions in imgRequestProxyStatic from ~imgRequestProxy, and that's Very Bad.
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #673371 -
Flags: review?(joe)
Comment 4•14 years ago
|
||
Comment on attachment 673371 [details] [diff] [review]
Avoid using virtual functions in imgRequestProxy's destructor.
Review of attachment 673371 [details] [diff] [review]:
-----------------------------------------------------------------
It doesn't make me dance, except for the spelling, but I also don't have any great suggestions for you.
::: image/src/imgRequestProxy.cpp
@@ +24,5 @@
> #include "nspr.h"
>
> using namespace mozilla::image;
>
> +class ProxyBehaviour
These classes deserve explanatory comments
Attachment #673371 -
Flags: review?(joe) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Whoops, forgot about this. I'll land this expediently.
tracking-firefox19:
--- → ?
| Assignee | ||
Comment 6•13 years ago
|
||
Updated•13 years ago
|
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in
before you can comment on or make changes to this bug.
Description
•