Closed Bug 620306 Opened 14 years ago Closed 13 years ago

crash [@ nsFtpState::Init] for oom from BeginWriting()

Categories

(Core Graveyard :: Networking: FTP, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, crash)

Crash Data

Attachments

(1 file)

1675 nsFtpState::Init(nsFtpChannel *channel) 1700 char *fwdPtr = path.BeginWriting(); this noble oom check: 1701 if (fwdPtr && (*fwdPtr == '/')) 1702 fwdPtr++; is immediately defeated: 1703 if (*fwdPtr != '\0') {
Attached patch proposalSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #498695 - Flags: review?(cbiesinger)
Attachment #498695 - Flags: approval2.0?
Comment on attachment 498695 [details] [diff] [review] proposal Mass minusing patch approval that don't have high return. Please renominate if this is more important for 2.0 than it appears.
Attachment #498695 - Flags: approval2.0? → approval2.0-
Crash Signature: [@ nsFtpState::Init]
Comment on attachment 498695 [details] [diff] [review] proposal Review of attachment 498695 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #498695 - Flags: review?(cbiesinger) → review+
Ready to land?
Keywords: checkin-needed
Sent to try: http://tbpl.allizom.org/?tree=Try&usebuildbot=1&rev=626e32292fdc Assuming all green, will push to inbound after :-)
Target Milestone: --- → mozilla9
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: