BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/str.cpp
De:       Rob Swindell (on Debian Linux)
Data:     Wed, 6 May 2026 22:36:57 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/fadcfd96c23be40c6487bd48
Modified Files:
	src/sbbs3/str.cpp
Log Message:
str: explicit truncation cast in spy() char assignment (CID 549016)

After the 'if (in == NOINP) continue;' check, in is in [0,255], so
'ch = in' is safe  but Coverity flags it because incom() returns
int and ch is char. Make the truncation explicit with (char)in to
silence the analyzer; semantics unchanged.

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

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