• src/conio/cterm.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 13 11:26:13 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ec06a1687a66ddd48fd6aa38
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix issue with ATASCII delete/insert character.

    Before the Unicode support was added, displaying a NUL would clear
    the cell, but now it is translated. For ATASCII, this results in
    a heart character being displayed instead of an empty cell when
    inserting or deleting characters.

    Fixes bug #28 on Sourceforge.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 20 11:48:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2f33ee734bc31462d7ce4e7f
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix error on scroll with left/right margins

    Scrolling would clear the line to the end of the screen, not the
    end of the scrolling region.

    Sorry echicken.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 20 12:22:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5abc5cdae5f652cf7a478b44
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Ensure cleared block in in scrolling region

    Do not clear at the current X/Y on scroll (derp)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Feb 25 10:54:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/37cdd991af1c54c30752bcc6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add a UINT64_MAX hack for VS 2022

    Not sure why this isn't defined from inttypes.h, but blah.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Oct 12 11:05:11 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bb233b89b205ae98af9eacb6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Continue fixing a coverity issue.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Dec 22 23:35:08 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1e9dcf477a5de94298f9bb74
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Clamp sixel repeat to 0x7fff per specification.

    This is the issue behind CVE-2022-24130 in xterm.
    Reported against SyncTERM by Autumn Lamonte (Thanks!)
    Discussion here: https://gitlab.com/klamonte/jexer/-/issues/105

    Closes SyncTERM bug 79.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon May 15 11:48:25 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/5c12fc2e5c7362a36fd68c23
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix memory leak and uninitialized acces in sixel graphics.

    Properly initialize sixel mask width/height.
    Free sx_mask->bits when finished.

    These were broken by the PPM feature commit 4975b41

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed May 31 13:27:51 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/cda7525d78b0948996c19561
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix off-by-one in delete lines

    Previously, delete lines would erase the line above the current one.
    This was visible in vim which makes extensive use of delete line
    to scroll.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Jun 9 11:24:59 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e5c75c3a8268961c2552edb9
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add comments to hopefully shut up Coverity

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Mon Jun 26 20:24:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/80379e9161895f4241bc30f3
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix warning: ‘end’ may be used uninitialized in this function

    Fix multiple warning: ignoring return value of ‘asprintf’
    declared with attribute ‘warn_unused_result’

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Jun 28 10:01:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1181333075e9674aad79ff3e
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix for 80379e916

    The commit just the zero-length behaviour from uninitialized use
    with possible undefined behaviour to guaranteed undefined behaviour.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Sep 25 15:42:12 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f209a29da73cb1da1bc7b4bf
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Bump revision.

    I need to document when I should do this better.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Nov 2 14:02:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e8c6145d3d975d6157ec772d
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Implement line editing support.

    Changing "stuff" on a line will now propogate to the right
    appropriately.

    Next up is double-height characters... hopefully.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Nov 3 10:45:58 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/252e539cc03a4411e4b52897
    Modified Files:
    src/conio/cterm.c
    Log Message:
    "Handle" malloc() failures

    Just scream on stderr, and screw things up in the window.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Nov 3 22:42:40 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/76bf7cde63a9a19dfdb75034
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Make the default Prestel ID 0 bytes long.

    CCl4 sends an ENQ character in the login screen, and sends an ENQ
    which will auto-fill your username. Also, if you enter six zeros
    into the username, it will take you to the password field.

    With ten zeros, this means it's impossible to log in to CCl4.

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