edit-in-kitty: Harden parsing of edit commands received from clients
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run

This commit is contained in:
Kovid Goyal 2026-09-17 19:56:39 +05:30
parent 5db43982c8
commit dcedd186de
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 203 additions and 23 deletions

View file

@ -319,6 +319,8 @@ Detailed list of changes
- Graphics protocol: Make fileopen failure responses generic to avoid leaking any information about failed files
- edit-in-kitty: harden the code used to parse messages from clients
- Clipboard protocol: Report an ``EFBIG`` error to programs that try to write
more data to the clipboard than allowed by :opt:`clipboard_max_size`, instead
of silently truncating their data. Also fix :opt:`clipboard_max_size` being