https://gitlab.synchro.net/main/sbbs/-/commit/bcee61f3a919481f1621dc60
Modified Files:
src/ssh/TODO.md deucessh-conn.h ssh-auth.c ssh-chan.c ssh-conn.c src/ssh/test/dssh_test_internal.h
Log Message:
Eliminate void functions that swallow errors
- handle_banner: void → int; callers propagate non-parse errors
- maybe_replenish_window: void → int; read callers propagate
- demux_dispatch, demux_open_confirmation, demux_channel_open:
void → int; demux thread terminates session on non-parse errors,
tolerates DSSH_ERROR_PARSE (malformed peer data)
- dssh_session_reject: void → int (public API change)
- bytebuf_write: guard capacity==0 to prevent SIGFPE (% 0)
- TODO: document chan_type==0 data delivery race (item 12)
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net