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

    From Deucе@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)