• src/conio/wl_cio.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Tuesday, March 17, 2026 11:59:17
    https://gitlab.synchro.net/main/sbbs/-/commit/689b3899fdee6c88c20049f8
    Modified Files:
    src/conio/wl_cio.c
    Log Message:
    Fix data race on wl_copybuf in wl_copytext()

    Read wl_copybuf while the mutex is still held, storing the result
    in a local before unlocking. Previously the NULL check was outside
    the critical section. (Coverity CID 501979)

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)