https://gitlab.synchro.net/main/sbbs/-/commit/4dcb27393746fe4934542001
Modified Files:
src/ssh/NOTES.md ssh-trans.c src/ssh/test/CMakeLists.txt test_transport.c
Log Message:
Fix trailing-comma bug in build_namelist; add truncation tests
dssh_test_build_namelist() wrote a comma before checking whether
the next algorithm name would fit, producing malformed name-lists
like "alpha," when the buffer was too small. Fix by checking
comma + name length together before writing the separator.
Clean up completed items from NOTES.md (internal API exposure,
magic number audit).
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net