Closed Bug 654934 Opened 13 years ago Closed 13 years ago

ProxyObject::callProperty should not heap-allocate its arguments array

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Assigned: lhansen)

References

Details

Attachments

(1 file)

The arguments array should be allocated by means of VMPI_alloca.  Presumably the heap allocation is an artifact of the code coming in from Player glue where VMPI_alloca may not be (easily?) available.  I should have caught this in the review.
Blocks: 654946
VMPI_alloca is available in Player code; this code predates VMPI_alloca's existence, and was probably never retrofitted.
Attached patch PatchSplinter Review
Assignee: stejohns → lhansen
Attachment #531336 - Flags: review?(stejohns)
changeset: 6298:9d34c630ac8e
user:      Lars T Hansen <lhansen@adobe.com>
summary:   Fix 654934 - ProxyObject::callProperty should not heap-allocate its arguments array (review pending)

http://hg.mozilla.org/tamarin-redux/rev/9d34c630ac8e
Pushed with review pending (after testing), because it seems like a no-brainer.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #531336 - Flags: review?(stejohns) → review?(fklockii)
Attachment #531336 - Flags: review?(fklockii)
pushed to tr-serrano as 6310:2ed87b807bbe
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: