Closed Bug 53323 Opened 24 years ago Closed 24 years ago

Assert in Translate StringFunctionCall::Evaluate

Categories

(Core :: XSLT, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jjs, Assigned: peter.vanderbeken)

References

()

Details

Attachments

(1 file)

Opening the functions.xml file in a debug build causes an assert/crash when 
processing the test case for xsl:value-of select="translate(....
Okay, The problem is in String::charAt() in the mozillaString wrapper. The 
TxString version returns -1 if index is out of bounds. The mozillaString 
version does not. Hence under debug, the assert occurs and bizarra characters 
get added.
Summary: Assert/Crash in Translate StringFunctionCall::Evaluate → Assert in Translate StringFunctionCall::Evaluate
Keywords: patch
This should be assigned to Peter since this is part of the wrapper classes. 
Bugzilla tells me I am not allowed to do that. So I've added him to the CC list.
Taking bug. Thanks for the patch Jus.
Keith: ask Axel to change your Bugzilla permissions.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Hmm. Really taking over.
Assignee: kvisco → peter.vanderbeken
Status: ASSIGNED → NEW
Fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
We haven't been verifying bugs for quite a while :-(
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: