Skip to content

Bound EDID imports, reserve pkexec exit codes, shellcheck in CI - #10

Open
neheb wants to merge 1 commit into
ssupt:mainfrom
neheb:fix-small-hardening
Open

neheb wants to merge 1 commit into
ssupt:mainfrom
neheb:fix-small-hardening

Conversation

@neheb

@neheb neheb commented Nov 21, 2026

Copy link
Copy Markdown
Contributor
  • Import refuses FIFOs, devices and directories and files larger than the 32 KiB EDID maximum, so a mistyped path such as /dev/zero can no longer hang the TUI or exhaust memory.
  • The privileged script maps its own 126/127 exits to 1, leaving those codes to pkexec (dialog dismissed / not authorized). 127 now reports an authorization failure with a hint about the polkit agent instead of a generic script failure.
  • Run shellcheck on the transaction scripts in CI.

Claude-Session: https://claude.ai/code/session_01S2DU236Zgc6XBsnodvgz3u

- Import refuses FIFOs, devices and directories and files larger than the
  32 KiB EDID maximum, so a mistyped path such as /dev/zero can no longer
  hang the TUI or exhaust memory.
- The privileged script maps its own 126/127 exits to 1, leaving those
  codes to pkexec (dialog dismissed / not authorized). 127 now reports an
  authorization failure with a hint about the polkit agent instead of a
  generic script failure.
- Run shellcheck on the transaction scripts in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S2DU236Zgc6XBsnodvgz3u
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.

1 participant