|
|
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
|
|
title: fix handling of array .length larger than 0xffffffffUL
|
|
|
|
desc: |-
|
|
|
|
In some corner cases the spec requires that array 'length' be set to a value
|
|
|
|
larger than 2^32-1. This breaks some assumptions in e.g. duk_hobject_props.c.
|
|
|
|
|
|
|
|
The cleanest fix would probably be to refuse setting 'length' to such a value,
|
|
|
|
i.e. to reject operations that would do so in duk_bi_array.c. This is not
|
|
|
|
compliant but better than an incorrect assert in duk_hobject_props.c (where
|
|
|
|
the code assumes that array 'length' fits into a duk_uint32_t).
|
|
|
|
type: :task
|
|
|
|
component: duk
|
|
|
|
release:
|
|
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
status: :unstarted
|
|
|
|
disposition:
|
|
|
|
creation_time: 2014-07-03 17:49:57.806252 Z
|
|
|
|
references: []
|
|
|
|
|
|
|
|
id: ec3657b5949f5f011dee8f302c7125cfc57f3c4b
|
|
|
|
log_events:
|
|
|
|
- - 2014-07-03 17:49:57.966131 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- created
|
|
|
|
- ""
|
|
|
|
- - 2014-07-03 17:52:05.821989 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v0.11 from v0.12
|
|
|
|
- ""
|
|
|
|
- - 2014-07-10 12:43:24.880983 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v0.12 from v0.11
|
|
|
|
- ""
|
|
|
|
- - 2014-07-24 13:10:13.058289 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- unassigned from release v0.12
|
|
|
|
- ""
|