You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

11 years ago
--- !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
10 years ago
release:
11 years ago
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
- ""
10 years ago
- - 2014-07-10 12:43:24.880983 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- assigned to release v0.12 from v0.11
- ""
10 years ago
- - 2014-07-24 13:10:13.058289 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- unassigned from release v0.12
- ""