Closed Bug 103342 Opened 23 years ago Closed 23 years ago

nsString::ReplaceSubstring hangs

Categories

(Core :: XPCOM, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: cavin, Assigned: jag+mozilla)

References

Details

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.
Reassigning to jag since it hangs in nsString::ReplaceSubstring().

Assignee: scc → jaggernaut
Patch is in bug 113590.
Status: NEW → ASSIGNED
Checked in.
Blocks: 113590
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.