-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
helix: fix UB in diff gutter #249163
helix: fix UB in diff gutter #249163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm approving for now barring any other opinions
Yeah I was hoping there would be a new helix release sooner, but as I'm not sure how long it will take until then (helix-editor/helix#7896 (comment) says it could be sometime this or next month), I thought It'd be best to temporarily patch it here ourselves. It's not just that there's UB, the bug actively prevents me from using helix on any committed files in a git repo which is kinda annoying. |
Result of 1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, seems to work as intended. LGTM
Applies helix-editor/helix#7227 as a patch until the fix is included in the next release.
Builds and fixes the issue for me too, LGTM |
Backport failed for Please cherry-pick the changes locally. git fetch origin release-23.05
git worktree add -d .worktree/backport-249163-to-release-23.05 origin/release-23.05
cd .worktree/backport-249163-to-release-23.05
git checkout -b backport-249163-to-release-23.05
ancref=$(git merge-base f1aa0b91207fc009eccde2167f7be066002c776f 2010902b385137f4ad6d8f4b8a4aaf6392064671)
git cherry-pick -x $ancref..2010902b385137f4ad6d8f4b8a4aaf6392064671 |
Description of changes
Applies helix-editor/helix#7227 as a patch until the fix is included in the next release.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)