Closed Bug 658116 Opened 13 years ago Closed 9 years ago

dis() output can prematurely truncate with one-length atoms

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 842419

People

(Reporter: dvander, Assigned: dvander)

Details

Attachments

(1 file)

Attached patch patch (deleted) — Splinter Review
SrcNotes() in the shell can accidentally print a NUL character into the output buffer, because it passes the wrong buffer length into PutEscapedString. You get this: Source notes: ofs line pc delta desc args ---- ---- ----- ------ -------- ------ 0: 2 0 [ 0] newline 1: 3 0 [ 0] label atom 0 (
Attachment #533473 - Flags: review?
Attachment #533473 - Flags: review? → review?(jwalden+bmo)
Attachment #533473 - Flags: review?(jwalden+bmo) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: