BBS: TELESC.NET.BR Assunto: src/syncterm/conn_conpty.c De: Deuc¨ Data: Sun, 15 Mar 2026 14:09:13 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/2836b0a2fe1df7c154492ad0 Modified Files: src/syncterm/conn_conpty.c Log Message: Fix get_utf8_span() boundary checks in conn_conpty.c Multi-byte UTF-8 completeness checks compared (b + N) <= last after advancing b past the sequence, requiring N extra bytes beyond the sequence end. Changed all three cases to (b - 1) <= last, which correctly checks that the last byte of the sequence is within bounds. Previously, complete multi-byte sequences at the buffer end were incorrectly excluded from the span count. Co-Authored-By: Claude Opus 4.6n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]