servo / rust-mozjs

DEPRECATED - moved to servo/mozjs instead.
Mozilla Public License 2.0
293 stars 122 forks source link

Protect TypedArray::from method against null pointers #334

Closed zakorgy closed 7 years ago

zakorgy commented 7 years ago

Fixes #332. Also added a test as described in the issue.


This change is Reviewable

emilio commented 7 years ago

Perfect! Please squash the commit (bors doesn't do that automatically), and this is good to merge :)

KiChjang commented 7 years ago

@bors-servo r=emilio

bors-servo commented 7 years ago

:pushpin: Commit 4cfdfb9 has been approved by emilio

bors-servo commented 7 years ago

:hourglass: Testing commit 4cfdfb9 with merge 372d6c1...

bors-servo commented 7 years ago

:sunny: Test successful - status-appveyor, status-travis Approved by: emilio Pushing 372d6c1c80d3724da7d947ec8670e1cdd21ea87f to master...