Closed
Bug 449152
Opened 17 years ago
Closed 17 years ago
valgrind umr in js1_5/extensions/regress-435345-01.js
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: bc, Assigned: mrbkap)
Details
(Keywords: verified1.9.0.2)
Attachments
(1 file)
|
621 bytes,
patch
|
brendan
:
review+
samuel.sidler+old
:
approval1.9.0.2+
|
Details | Diff | Splinter Review |
==28877== Conditional jump or move depends on uninitialised value(s)
==28877== at 0x47BA71: obj_watch(JSContext*, unsigned, long*)
(jsobj.cpp:1437)
==28877== by 0x4FFD67: js_Interpret (jsinterp.cpp:4928)
==28877== by 0x466F5E: js_Execute (jsinterp.cpp:1553)
==28877== by 0x40EDA8: JS_ExecuteScript (jsapi.cpp:4926)
==28877== by 0x40A590: Process(JSContext*, JSObject*, char*, int)
(js.cpp:272)
==28877== by 0x40AD32: ProcessArgs(JSContext*, JSObject*, char**, int)
(js.cpp:500)
==28877== by 0x40B0AC: main (js.cpp:3967)
| Assignee | ||
Comment 1•17 years ago
|
||
We need to ensure that we write to all out parameters when we're about to bail.
If we can't get information about the attributes, 0 is just as good a value as any.
Updated•17 years ago
|
Attachment #332294 -
Flags: review?(brendan) → review+
| Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 2•17 years ago
|
||
changeset: 16403:0da3b307d627
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 3•17 years ago
|
||
Comment on attachment 332294 [details] [diff] [review]
Fix
While this isn't exploitable, it might be nice to get this into 1.9.0.2.
I'm not sure what our testing policy is for testing bugs like this -- by its nature, this could cause random behavior (watching properties on a dense array will randomly fail to call the watch function).
Attachment #332294 -
Flags: approval1.9.0.2?
| Reporter | ||
Updated•17 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
| Reporter | ||
Updated•17 years ago
|
Flags: in-testsuite- → in-testsuite+
Comment 4•17 years ago
|
||
Comment on attachment 332294 [details] [diff] [review]
Fix
Approved for 1.9.0.2. Please land in CVS. a=ss
Attachment #332294 -
Flags: approval1.9.0.2? → approval1.9.0.2+
| Reporter | ||
Comment 6•17 years ago
|
||
verified 1.9.0/1.9.1 linux shell/browser
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.0.2 → verified1.9.0.2
You need to log in
before you can comment on or make changes to this bug.
Description
•