Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark unsafe functions unsafe. #207

Merged
merged 1 commit into from Oct 28, 2015
Merged

Mark unsafe functions unsafe. #207

merged 1 commit into from Oct 28, 2015

Conversation

@Ms2ger
Copy link
Collaborator

Ms2ger commented Oct 28, 2015

All of those can trivially be made to crash by passing an invalid JSContext
pointer.

Review on Reviewable

All of those can trivially be made to crash by passing an invalid JSContext
pointer.
@metajack
Copy link
Contributor

metajack commented Oct 28, 2015

@bors-servo r+

Bonus readability!


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from the review on Reviewable.io

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2015

📌 Commit 17f3fd5 has been approved by metajack

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2015

Testing commit 17f3fd5 with merge 8fabaf8...

bors-servo added a commit that referenced this pull request Oct 28, 2015
Mark unsafe functions unsafe.

All of those can trivially be made to crash by passing an invalid JSContext
pointer.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/207)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2015

☀️ Test successful - travis

@bors-servo bors-servo merged commit 17f3fd5 into master Oct 28, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/push The Travis CI build passed
Details
homu Test successful
Details
@Ms2ger Ms2ger deleted the unsafe branch Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.