Closed
Bug 529535
Opened 15 years ago
Closed 15 years ago
JS Shell line input buffer overflow bug "fix" breaks interactive interpreter
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wes, Assigned: mrbkap)
References
Details
(Keywords: fixed1.9.0.16, regression)
Attachments
(1 file, 1 obsolete file)
2.42 KB,
patch
|
igor
:
review+
samuel.sidler+old
:
approval1.9.0.16+
|
Details | Diff | Splinter Review |
This is a regression caused by bug 413735. To reproduce, build the JS shell from CVS, run it, and type in two JS statements. The second one will be a syntax error. [10:43] <mrbkap> Wes--: I have the fix. [10:43] <mrbkap> Wes--: My bad -- I lost an assignment when backporting to 1.9.0 :-/ 10:45] <mrbkap> http://pastebin.mozilla.org/684582 [10:45] <mrbkap> But I'm still reading [10:45] <mrbkap> Wes--: File a new bug?
Reporter | ||
Updated•15 years ago
|
Attachment #413075 -
Attachment is patch: true
Attachment #413075 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Comment 1•15 years ago
|
||
Sorry for having to resurrect this, Igor. I don't know how I managed to mangle this quite so badly. Clearly, I didn't test enough.
Assignee: general → mrbkap
Attachment #413075 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #413077 -
Flags: review?(igor)
Updated•15 years ago
|
Attachment #413077 -
Flags: review?(igor) → review+
Updated•15 years ago
|
Keywords: regression
Assignee | ||
Comment 2•15 years ago
|
||
Comment on attachment 413077 [details] [diff] [review] Fix This is NPOTB and fixes a pretty severe regression in the JS shell.
Attachment #413077 -
Flags: approval1.9.0.16?
Comment 3•15 years ago
|
||
Comment on attachment 413077 [details] [diff] [review] Fix Approved for 1.9.0.16. a=ss
Attachment #413077 -
Flags: approval1.9.0.16? → approval1.9.0.16+
Assignee | ||
Comment 4•15 years ago
|
||
Thanks, Sam. Checking in js/src/js.c; /cvsroot/mozilla/js/src/js.c,v <-- js.c new revision: 3.217; previous revision: 3.216 done
Comment 5•15 years ago
|
||
You're welcome, but next time use the keyword for 1.9.0. ;) (Welcome back from vacation!)
status1.9.1:
.6-fixed → ---
Keywords: fixed1.9.0.16
Updated•14 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•