« Bugzilla Issues Index
#2415 — 24.1.2.1 ArrayBuffer(...): Missing constructor reentrancy checks
- bug_id:
2415
- creation_ts:
2014-01-15 09:09:00 -0800
- short_desc:
24.1.2.1 ArrayBuffer(...): Missing constructor reentrancy checks
- delta_ts:
2014-04-06 11:29:11 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 21: November 8, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- blocked:
2179
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
6969
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-01-15 09:09:31 -0800
24.1.2.1 ArrayBuffer(length), step 3 is not side-effect free, so an additional check is needed to ensure the ArrayBuffer object is still uninitialised when SetArrayBufferData() is called.
Test case:
---
let buf = ArrayBuffer[Symbol.create]();
ArrayBuffer.call(buf, {valueOf(){ ArrayBuffer.call(buf, 0); return 1 }})
---
- commentid:
7319
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-02-15 16:45:24 -0800
fixed in rev23 editor's draft
- commentid:
7506
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:29:11 -0700
fixed in rev23 draft