BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/zmodem.c
De:       Rob Swindell (on Windows 11)
Data:     Sun, 15 Mar 2026 16:24:40 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/c787342dc9ae4fd3005d224e
Modified Files:
	src/sbbs3/zmodem.c
Log Message:
Fix API violation in zmodem_recv_bin32_header()

Introduced in commit 83b672364, Claude caught this:

zmodem_recv_bin32_header() returns TRUE on error (zmodem.c:1200)
When zmodem_rx() returns an error (c < 0) during CRC-32 header reception, the
function returns TRUE (success) instead of FALSE. The subsequent CRC check will
almost certainly catch this, but the function's contract is violated.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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