BBS:      TELESC.NET.BR
Assunto:  src/syncterm/term.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 14:09:13 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/7b847a23bef419ee2ec96e6f
Modified Files:
	src/syncterm/term.c
Log Message:
Fix multiple bugs in term.c

- CET telesoftware: invert success flag (was "success = st.aborted",
  now "success = !st.aborted").
- CET telesoftware: when frame count exhausts without end-of-file
  marker, set frames_remaining to 999 (unknown) and continue rather
  than silently underflowing on next decrement.
- CET block allocation: add +1 byte for NUL terminator to prevent
  off-by-one write past flexible array member.
- get_cache_fn_base/get_cache_fn_subdir: add bounds checks before
  strcat to prevent buffer overflow with long BBS names or subdirs.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]