Closed Bug 681511 Opened 13 years ago Closed 6 years ago

Inserting elements into a max_length array using splice results in unexpected behavior

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: cpeyer, Unassigned)

References

Details

Attachments

(1 file)

Attached file testcase (deleted) —
See attached file for test code. When splice is used near the end of a max length array, values at the beginning of the array get deleted, and the value to be spliced in does not get inserted. Here is the output for the testcase: Before splice - length: 4294967295 [1,2,3,4...,3rd to last value,2nd to last value,last value,] After splice - length: 0 [,,,...,,,,last value] Note that the length has gone to 0 after splicing, but still has a value at a[uint.MAX_VALUE]. The two values at the beginning of the array have also been converted to undefined.
oh man, just when you think you can put a bug to bed. yeah, i guess for consistency it would be good to address these cases as well.
Assignee: nobody → fklockii
(should check how unshift behaves too. at first glance it seems like it will fall victim to similar problem as push and splice.)
Priority: -- → P4
Target Milestone: --- → Q1 12 - Brannan
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug+
(In reply to Felix S Klock II from comment #2) > (should check how unshift behaves too. at first glance it seems like it > will fall victim to similar problem as push and splice.) Investigation started and posted on Bug 685323.
Assignee: fklockii → nobody
Priority: P4 → --
Target Milestone: Q1 12 - Brannan → Future
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: