Skip to content

component/tmux: version up 3.6a

Fixes a NULL dereference in tty_set_selection (OSC 52 clipboard write) when the terminal does not advertise an Ms terminfo string. The 3.3a code path tty_putcode_ptr2 → tty_term_ptr2 → tparm passes the result of tty_term_string(term, TTYC_MS) (which can be NULL) directly into tparm(), crashing on cmpb $0x0,(%rax) when it walks the format string. Triggered reliably by editors and agents that emit OSC 52 on every clipboard copy (e.g. Claude Code).

Upstream fix landed between 3.3a and 3.4 (changelog: "Pass through first argument to OSC 52 (which clipboards to set) if the application provides it"). 3.6a restructures the call as tty_putcode_ss → tty_term_string_ss, removing the unsafe path.

Workaround for users still on 3.3a: tmux set -g set-clipboard off.

Blast radius: only software/theia extends component/tmux; no stack or other SR pulls it (verified by grep).

Merge request reports