Closed Bug 735329 Opened 13 years ago Closed 13 years ago

Download manager doesn't finalise its statement

Categories

(SeaMonkey :: Download & File Handling, defect)

defect
Not set
normal

Tracking

(seamonkey2.9 fixed, seamonkey2.10 fixed)

RESOLVED FIXED
seamonkey2.11
Tracking Status
seamonkey2.9 --- fixed
seamonkey2.10 --- fixed

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

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: 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+
Pushed changeset cdc68c902088 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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 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+
Keywords: checkin-needed
Whiteboard: [transplant cdc68c902088 to branches]
Target Milestone: --- → seamonkey2.11
Version: unspecified → Trunk
Keywords: checkin-needed
Whiteboard: [transplant cdc68c902088 to branches]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: