Closed
Bug 46899
Opened 25 years ago
Closed 25 years ago
|ns[C]String::SetCapacity(0)| should discard storage
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
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.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Updated•25 years ago
|
Summary: |SetCapacity(0)| should discard storage → |ns[C]String::SetCapacity(0)| should discard storage
| Assignee | ||
Comment 2•25 years ago
|
||
this is in support of an nsbeta3 bug (bug #46702).
r={waterson, harishd}, a=waterson
| Assignee | ||
Comment 3•25 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•