https://gitlab.synchro.net/main/sbbs/-/commit/9828d56c265e8e948ae3191f
Modified Files:
src/sbbs3/sexyz.vcxproj
Log Message:
Mutex-protect the ring buffers (as we do in the *nix builds)
This fixes an observed crash in sexyz for Windows. The crash was in RingBufWrite() where 'remain' was set to -1 (4.2B) apparently because pHead and/or pTail changed (to pTail=pHead) during the invocation of the RINGBUF_FILL_LEVEL() macro, because it wasn't thread-safe.
Amazing this problem never came up before.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net