Skip to content

cow-rc-str: Use ptr::NonNull. #345

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
Jun 6, 2023
Merged

cow-rc-str: Use ptr::NonNull. #345

merged 1 commit into from
Jun 6, 2023

Conversation

emilio
Copy link
Member

@emilio emilio commented Jun 4, 2023

This fixes UB caught by miri.

This fixes UB caught by miri.
@emilio
Copy link
Member Author

emilio commented Jun 4, 2023

r? @tiaanl @SimonSapin

@emilio emilio mentioned this pull request Jun 4, 2023
@glandium
Copy link
Contributor

glandium commented Jun 6, 2023

LGTM.

@emilio
Copy link
Member Author

emilio commented Jun 6, 2023

@bors-servo r=glandium

@bors-servo
Copy link
Contributor

📌 Commit 6cd4285 has been approved by glandium

@bors-servo
Copy link
Contributor

⌛ Testing commit 6cd4285 with merge aa95ebc...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
Approved by: glandium
Pushing aa95ebc to master...

@bors-servo bors-servo merged commit aa95ebc into master Jun 6, 2023
@emilio emilio deleted the cow-rc-str branch June 6, 2023 08:53
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jun 10, 2023
…glandium,dlrobertson

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jun 12, 2023
…glandium,dlrobertson, a=dmeehan

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jun 16, 2023
…glandium,dlrobertson

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921

UltraBlame original commit: 951284fe622cc3d375cade886ff33a9cb8f275fa
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jun 16, 2023
…glandium,dlrobertson

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921

UltraBlame original commit: 951284fe622cc3d375cade886ff33a9cb8f275fa
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jun 16, 2023
…glandium,dlrobertson

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921

UltraBlame original commit: 951284fe622cc3d375cade886ff33a9cb8f275fa
surapunoyousei pushed a commit to Floorp-Projects/Floorp that referenced this pull request Jun 16, 2023
…glandium,dlrobertson, a=dmeehan

This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: servo/rust-cssparser#345

Differential Revision: https://phabricator.services.mozilla.com/D179921
@mukilan mukilan mentioned this pull request Jul 15, 2023
5 tasks
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.

3 participants