https://gitlab.synchro.net/main/sbbs/-/commit/5c73d262cc4683798b8cae66
Modified Files:
src/sbbs3/chk_ar.cpp client.h mailsrvr.cpp main.cpp sbbsdefs.h userdat.c userdat.h
Log Message:
Treat user numbers a 32-bit signed integers, everywhere
we had mix of signed/unsigned and 16 and 32-bit integer representations of the user number.
I somehow ended up with a 4GB (4294967296 byte) user.tab file today and don't have an exact smoking gun but the conversions (mainly in userdat.c) between unsigned 16-bit and signed 32-bit representation of the user number had me suspicious.
Perform some userbase data file and index file sanity checking upon startup
of the terminal server thread and fail with critical error if anything seems amiss (indication of corruption).
--- SBBSecho 3.35-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)