BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/prntfile.cpp
De:       Rob Swindell (on Debian Linux)
Data:     Tue, 5 May 2026 15:55:25 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/8b4ddcae8c86c2b7255bcf69
Modified Files:
	src/sbbs3/prntfile.cpp
Log Message:
printfile: guard fseeko restore against ftello failure (CID 645973)

ftello() can return -1 on error; passing that to fseeko() with SEEK_SET
is invalid. Skip the restore if the saved position was never captured.
Same pattern in both 'n' (forward) and 'N' (backward) less-style search
branches; Coverity flagged the latter at line 447.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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