https://gitlab.synchro.net/main/sbbs/-/commit/b97d08c93795dc03cc1f2ac7
Modified Files:
src/syncterm/telnets.c
Log Message:
Fix infinite loop and missing error checks in telnets.c
- Input thread: change drain loop condition from "buffered < rd" to
"bufsz > 0", and add !conn_api.terminate guard. The old condition
compared against the last read size instead of remaining data,
causing an infinite loop once bufsz drained to zero.
- Add missing NULL checks on create_conn_buf() return values in
telnets_connect(), matching all other connection providers.
Co-Authored-By: Claude Opus 4.6 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net