• src/conio/wl_cio.c

    From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 17 11:59:17 2026
    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>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net