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.
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)