Repository navigation
quickshell: backport socket error-handler null guard - #2868
Open
aholbreich wants to merge 1 commit into
Open
aholbreich wants to merge 1 commit into
aholbreich wants to merge 1 commit into
Conversation
Carry quickshell-mirror/quickshell#1345 (upstream commit 0c3d4d50) as a patch on the pinned 2b4501a source. A plugin Socket whose onError handler sets connected = false frees the socket synchronously; the remaining error cleanup then calls deleteLater() on null and the whole shell segfaults (omacom/omarchy#15971, #16531, #17093, #17110). Remove the patch once the pinned source includes the fix.
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryBackports the socket error-handler null guard and bumps
Reviews (1) · Last reviewed commit: "quickshell: backport socket error-handle..." · Reviewed by Greptile |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Backport quickshell-mirror/quickshell#1345 (upstream commit
0c3d4d50dd8849f8ccef2170bf81758ab0807b0e) as a patch on the pinned2b4501asource, and bump pkgrel 11 → 12.A plugin
Socket { onError: connected = false }disconnects synchronously while the error is being delivered, which deletes the socket and clears the pointer. The rest of the error cleanup then callsdeleteLater()on null and the whole shell segfaults. The upstream patch guards that cleanup. It's carried verbatim with its authorship, applies with zero fuzz, and the recipe notes to drop it once the pinned source includes the fix. #1345 is still open upstream.Reports: omacom/omarchy#15971, omacom/omarchy#16531, omacom/omarchy#17093, omacom/omarchy#17110 (upstream issue quickshell-mirror/quickshell#1342).
Validation
bin/build --package quickshell(x86_64, rootless Podman): builds.Socket/DataStreamcode with a QMLSocket { onError: connected = false }and aborted a real local-socket peer. Unpatched: SIGSEGV. Patched: 10/10 pass, plus 10/10 each for missing-server and no-handler controls.tests/pinned-sources.sh,tests/package-metadata.sh,bash -n pkgbuilds/quickshell/PKGBUILD: pass.Not tested: aarch64 build, whole shell with a real plugin on an installed system.