Closed Bug 46899 Opened 25 years ago Closed 25 years ago

|ns[C]String::SetCapacity(0)| should discard storage

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: scc, Assigned: scc)

References

Details

Attachments

(1 file)

|SetCapacity(0)| should discard storage, otherwise, strings grow without bound. This turns out to be a significant problem with the tokenizer.
Blocks: 46702
Status: NEW → ASSIGNED
Summary: |SetCapacity(0)| should discard storage → |ns[C]String::SetCapacity(0)| should discard storage
this is in support of an nsbeta3 bug (bug #46702). r={waterson, harishd}, a=waterson
fix checked in with version 3.127 of nsString.cpp and version 1.100 of nsString2.cpp
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
marking Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: