Subj : src/doors/syncduke/syncduke_node.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Wed Jul 01 2026 23:24:33 https://gitlab.synchro.net/main/sbbs/-/commit/d1470e9168d5138953a8d5a6 Modified Files: src/doors/syncduke/syncduke_node.c Log Message: syncduke: fix banner-draw stack over-read on wide terminals syncduke_node_draw padded the text to `cols` (up to 128) with %-*.*s; on a terminal wider than ~106 columns the formatted line plus escape bytes exceeded the 128-byte stack buffer, so snprintf truncated but returned the full intended length and syncduke_out_put then memcpy'd that many bytes -- reading past the buffer and shipping stack garbage (and cutting the SGR reset, leaving the terminal white-on-red). Switch to SyncDOOM's draw_page_overlay pattern: erase- to-EOL (\x1b[K) fills the strip to the true terminal edge with a bounded byte count, independent of `cols`. Fixes the over-read and the wide-terminal under- fill in one change. Co-Authored-By: Claude Opus 4.8 --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .