nsString::ReplaceSubstring hangs

RESOLVED FIXED

Status

()

Core
String
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Cavin Song, Assigned: jag (Peter Annema))

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
The following ReplaceSubstring() call never returns:

  nsAutoString newAcctName, oldVal, newVal;
  .  .  .
  newAcctName.ReplaceSubstring(oldVal, newVal);

where:
  'newAcctName' has the value of "News Acct - news.mcom.com"
  'oldVal'      has the value of "news.mcom.com"
  'newVal'      has the value of "news.mcom.comx"

Bug #95108 may be related to this, but not sure.
(Reporter)

Comment 1

16 years ago
Reassigning to jag since it hangs in nsString::ReplaceSubstring().

Assignee: scc → jaggernaut
(Assignee)

Comment 2

16 years ago
Patch is in bug 113590.
Status: NEW → ASSIGNED
(Assignee)

Comment 3

16 years ago
Checked in.
Blocks: 113590
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.