Closed Bug 1150858 Opened 9 years ago Closed 9 years ago

ArrayBufferObject::fun_transfer tries to unwrap nullptr

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: peterv, Assigned: luke)

References

Details

Attachments

(1 file)

http://hg.mozilla.org/mozilla-central/annotate/70a113676b21/js/src/vm/ArrayBufferObject.cpp#l363 tries to unwrap |oldBuffer|, which hasn't been set to anything. It probably should unwrap |oldBufferObj|.
Attached patch fix-transferSplinter Review
D'oh, thanks!
Assignee: nobody → luke
Status: NEW → ASSIGNED
Attachment #8587951 - Flags: review?(sphink)
Attachment #8587951 - Flags: review?(sphink) → review+
https://hg.mozilla.org/mozilla-central/rev/e45901374cd4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: