Skip to content

Avoid bitfield getters and setters accessing memory beyond "self" #1149

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

Merged
merged 1 commit into from
Nov 13, 2017
Merged

Avoid bitfield getters and setters accessing memory beyond "self" #1149

merged 1 commit into from
Nov 13, 2017

Conversation

glyn
Copy link
Contributor

@glyn glyn commented Nov 13, 2017

This fixes #954.

r? @emilio

Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, this was actually much easier to fix than what I initially thought, nice job!

@emilio
Copy link
Contributor

emilio commented Nov 13, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit e22d7da has been approved by emilio

@bors-servo
Copy link

⌛ Testing commit e22d7da with merge bf3f75b...

bors-servo pushed a commit that referenced this pull request Nov 13, 2017
Avoid bitfield getters and setters accessing memory beyond "self"

This fixes #954.

r? @emilio
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: emilio
Pushing bf3f75b to master...

@bors-servo bors-servo merged commit e22d7da into rust-lang:master Nov 13, 2017
@glyn glyn deleted the avoid-accesses-outside-self branch November 13, 2017 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bindgen generates getters and setters which access memory beyond "self"
4 participants