Closed
Bug 735329
Opened 13 years ago
Closed 13 years ago
Download manager doesn't finalise its statement
Categories
(SeaMonkey :: Download & File Handling, defect)
SeaMonkey
Download & File Handling
Tracking
(seamonkey2.9 fixed, seamonkey2.10 fixed)
RESOLVED
FIXED
seamonkey2.11
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(1 file)
4.18 KB,
patch
|
iannbugzilla
:
review+
kairo
:
approval-comm-aurora+
kairo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
As per bug 713172, the sanitiser is unable to sanitise downloads if the download manager's connection remains open. All known cases where this happens were fixed for Firefox 12, and a fatal assertion added was added to enforce this. SeaMonkey however trips over this fatal assertion if the download manager is opened.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #605455 -
Flags: review?(kairo)
Attachment #605455 -
Flags: review?(iann_bugzilla)
Comment on attachment 605455 [details] [diff] [review]
Proposed patch [Checkin: Comment 6]
So the key change is moving from .reset() to .finalize()?
That looks like the right thing to do so r=me
Attachment #605455 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Pushed changeset cdc68c902088 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 605455 [details] [diff] [review]
Proposed patch [Checkin: Comment 6]
[Approval Request Comment]
Regression caused by (bug #): 472001
User impact if declined: potential dataloss because connection is never closed
Testing completed (on m-c, etc.): debug builds no longer crash on shutdown
Risk to taking this patch (and alternatives if risky): low; the fix itself is the reset/finalize change, which should work even without the variable change, but I didn't see the point of keeping a finalized statement hanging around.
String changes made by this patch: none
Attachment #605455 -
Flags: approval-comm-beta?
Attachment #605455 -
Flags: approval-comm-aurora?
![]() |
||
Comment 5•13 years ago
|
||
Comment on attachment 605455 [details] [diff] [review]
Proposed patch [Checkin: Comment 6]
Not adding another review, it has one already, but it's good for the branches, I think. I don't see though how a SELECT that isn't finalized can result in dataloss.
That said, this unfortunately goes a different way than what I did for my add-on, where I made this use an async query, which doesn't need resetting or finalizing at all.
Attachment #605455 -
Flags: review?(kairo)
Attachment #605455 -
Flags: approval-comm-beta?
Attachment #605455 -
Flags: approval-comm-beta+
Attachment #605455 -
Flags: approval-comm-aurora?
Attachment #605455 -
Flags: approval-comm-aurora+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Whiteboard: [transplant cdc68c902088 to branches]
Updated•13 years ago
|
Target Milestone: --- → seamonkey2.11
Version: unspecified → Trunk
Comment 6•13 years ago
|
||
Comment on attachment 605455 [details] [diff] [review]
Proposed patch [Checkin: Comment 6]
http://hg.mozilla.org/releases/comm-aurora/rev/6aa9ff8a7d5d
http://hg.mozilla.org/releases/comm-beta/rev/78298359ec1e
Attachment #605455 -
Attachment description: Proposed patch → Proposed patch [Checkin: Comment 6]
Updated•13 years ago
|
status-seamonkey2.11:
affected → ---
Keywords: checkin-needed
Whiteboard: [transplant cdc68c902088 to branches]
You need to log in
before you can comment on or make changes to this bug.
Description
•