Debian Patches

Status for apt-dater/1.0.4+git20260113-3

Patch Description Author Forwarded Bugs Origin Last update
01-tmux-options.diff # tmux 2.4 changed this option, we need it for new created sessions
# or tmux will fail with an unknown option error.

diff -Naur apt-dater-1.0.4.orig/conf/tmux.conf apt-dater-1.0.4/conf/tmux.conf
no
02-gcc-15.diff Fix FTBFS with GCC 15
diff -Naur apt-dater.orig/src/sighandler.c apt-dater/src/sighandler.c
Adrian Bunk <bunk@debian.org> no debian
03-display-hosts.diff # Some setups show an incomplete host list on initial startup until the
# first status refresh/host action triggers a DrawList rebuild.
# Force one rebuild in the first UI iteration to ensure the initial view
# reflects the complete, loaded host set.
# Closes: #812871

diff -Naur apt-dater.orig/src/stats.c apt-dater/src/stats.c
no
04-tmux-window-name.diff tmux: sanitize generated window name to satisfy modern tmux apt-dater builds the tmux window name from a hard-coded format
("%m # %U%H"), producing names such as
"Maintainer # root@host.example.com:22".
.
Recent tmux releases restrict the characters permitted in window (and
session) names and abort with "invalid window name: ..." when the name
contains ':', '.' or '#', or control characters. Additionally '#' is
subject to tmux format expansion. As a result apt-dater can no longer
open a session on any host once such a tmux is installed.
Patrick Matthäi <pmatthaei@debian.org> no debian upstream upstream, https://github.com/tmux/tmux/issues/5299 2026-07-08
05-crash-session-cycle.diff Fix use-after-free when cycling through sessions Cycling through the open sessions (SC_KEY_CYCLESESS/SC_KEY_NEXTSESS) kept a
GList iterator into HostNode->screens across the attach. That list is
released and rebuilt from scratch by tmux_get_sessions()/screen_get_sessions(),
which are called from within tmux_attach()/screen_attach(). As soon as the
attached session is terminated by the user, the iterator points into freed
memory, and the next loop iteration dereferences it.
.
If the terminated session was the last one on that host, the tmux server exits
as well; tmux_get_sessions() then bails out at the exit status check after it
has already run g_list_free() and left HostNode->screens as NULL, so the stale
iterator is guaranteed to be dangling.
.
Snapshot the (host, session id) pairs before the loop and resolve the
session again on every iteration instead; sessions which vanished in the
meantime are skipped. This also keeps the "(n sessions left)" counter
correct, which previously kept counting sessions that no longer existed.
Patrick Matthäi <pmatthaei@debian.org> no 2026-07-22

All known versions for source package 'apt-dater'

Links