• src/conio/wl_cio.c

    From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, March 17, 2026 11:59:00
    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