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

fix UB in diff gutter #7227

Merged
merged 1 commit into from
Jun 4, 2023
Merged

Conversation

pascalkuthe
Copy link
Member

@pascalkuthe pascalkuthe commented Jun 4, 2023

Fixes UB in the diff gutters that lead to crashes in rust 1.71.

See rust-lang/rust#112171 (comment)

Note that this is a temporary fix that I will revert once I land the improvements described in the comment land in ropey. That could take a while tough, and we really don't want UB in the meantime.

@pascalkuthe pascalkuthe added C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much A-vcs Area: Version control system interaction labels Jun 4, 2023
@pascalkuthe pascalkuthe added the S-waiting-on-review Status: Awaiting review from a maintainer. label Jun 4, 2023
@pascalkuthe pascalkuthe merged commit de0ef8a into helix-editor:master Jun 4, 2023
@pascalkuthe pascalkuthe deleted the unsound branch June 4, 2023 15:20
Triton171 pushed a commit to Triton171/helix that referenced this pull request Jun 18, 2023
wes-adams pushed a commit to wes-adams/helix that referenced this pull request Jul 4, 2023
lunagl added a commit to lunagl/nixpkgs that referenced this pull request Aug 15, 2023
Applies helix-editor/helix#7227 as a patch
until the fix is included in the next release.
zowoq pushed a commit to NixOS/nixpkgs that referenced this pull request Aug 15, 2023
Applies helix-editor/helix#7227 as a patch
until the fix is included in the next release.
Artturin pushed a commit to NixOS/nixpkgs that referenced this pull request Oct 5, 2023
Applies helix-editor/helix#7227 as a patch
until the fix is included in the next release.
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vcs Area: Version control system interaction C-bug Category: This is a bug E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants