Closed Bug 3630 Opened 26 years ago Closed 26 years ago

OutputText has gabage chars at end

Categories

(Core :: DOM: Editor, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: buster)

Details

OuptutText on Windows has garbage chars at the end of the output string. This is a string termination problem in the routine in nsTextEditor that converts the ostream to an nsString (it might be my bug). The issues is that aInStr.str does not appear to be null-terminated.
Priority: P3 → P1
Target Milestone: M3
M3, P1
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
We needed to set the length of the nsString to the stream buffer length. [NOTE: This error occurred for OutputHTML as well]
Simon, how would I go about verifying this? Is is just simple text entry? thanks
Hit the 'output text' or 'output HTML' buttons in the editor testbed. Look to see if you see garbage at the end of the console output.
Status: RESOLVED → VERIFIED
verified in 3/19 builds. Clicking "Get Text" button yields no garbage chars after the text. There is no Output HTML/Text button, so I'm assuming you meant Get Text.
Reassigning all bugs Assigned To kostello to buster
All these bugs were marked "New" when Jan transfered ownership of them to me. They were all resolved and need to be marked "Verified" again.
Status: NEW → RESOLVED
Closed: 26 years ago26 years ago
This was Verified on 03/19/99...resetting back to Verified...Bugzilla wacked out.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.