• src/conio/x_events.c src/syncterm/CHANGES

    From Deuc¨@VERT to Git commit to main/sbbs/master on Tue Oct 1 13:52:28 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e34bd5538146b490da5efb83
    Modified Files:
    src/conio/x_events.c src/syncterm/CHANGES
    Log Message:
    Fix a potential race between drawing and discarding last buffer.

    If the last is freed while the screen is being updated, and the use
    after free bug is not detected, corruption could occur resulting in
    bad areas of the screen that persists until the window gets an
    expose event again, or the impacted pixels are updated again.

    Possibly fixes an issue reported by nelgin via IRC.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Tue Oct 1 15:20:18 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2ea1515f9788f81ed49c7287
    Modified Files:
    src/conio/x_events.c src/syncterm/CHANGES
    Log Message:
    Undo part of the previous commit.

    All of this code runs in the same thread, races aren't possible.

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