• src/syncterm/bbslist.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Sep 30 17:48:22 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0e009861dc6cf4bb4c29c9b3
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix the macro used to detect X11.

    NO_X is defined in the ciolib GNUmakefile. DISABLE_X11 is defined
    on Common.gmake.
    --- 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 Fri Oct 18 08:10:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/64ff68205c9e5227fbdec93a
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Don't copy the name to the address.

    The DNS lookup can cause delays on some systems.
    Fixes bug 154
    --- 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 Wed Nov 20 14:34:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/631f98785ea5c866475982d8
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Terminate parity_enum
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Nov 20 14:35:10 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d256c540f06ca1c3f335ac19
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Remove unused variable.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Nov 22 15:11:12 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2ff66c278ca6b77f7436b25b
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix editing of name broken in earlier commit, refactor

    Split generating help into separate function
    - Regenerated when the connection type changes
    Split generation the opt list into separate function
    - Regenerated after handling any selection
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Nov 22 15:28:34 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c1284baafe7ff60e8ef6828e
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Use enum values for field names

    Easier to match up than numbers.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Nov 22 15:50:54 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4143d73fd3d49364d492dcad
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Remove accidental zero-width unicode character.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Nov 24 21:07:16 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/fe32df7720449769d88fee9c
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix error in optmap creation
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Dec 28 16:35:10 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/af5ec10b350db87a54c617af
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Add JPEG XL to build options list
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Dec 29 12:03:44 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/75bc6e4e845524197d1d5c6a
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Another impossibug fixed.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 23:13:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/868b7d8216f02a59d29f2a46
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Free copied bbs list entry on return.

    Fixes memory leak found by scan-build.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Jan 23 08:54:32 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/dc77d18ab04a71c551c8d3dc
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Change screen mode to "BBC Micro Mode 7"

    Also, change the terminal type reported to "Beeb7"
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jan 24 11:32:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a71d6b2c787d0e80c058afcf
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Allow "reserving" names

    The SyncTERM cache uses the BBS name as the directory name, so any
    system-level caching needs to either be in the cache root directory
    or in a directory whose name is guaranteed to not collide with an
    entry name.

    This leaves two options... either prevent a list of suffixes from
    being used on BBS names, or have a separate system cache whose name
    cannot be used as a BBS name.

    I've taken the second route here... SyncTERM will not load a BBS
    entry with the (case insensitive) name "syncterm-system-cache" and
    will not allow creating one. This is the directory where "global"
    cache files will be stored (ie: scripts, internet dialing
    directories, etc.)
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jan 24 20:59:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b64adc0b78c12aab36881648
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Add a TODO comment
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 25 00:10:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/2ce5494a3ecfc66de4cdef5b
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Ensure some settings aren't loaded from system lists.

    Paths, passwords, user IDs, log settings, etc.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 25 01:03:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d2d23d663ec475b46f5a6ef7
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Start of a menu to edit web lists.

    Goodnight.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 25 18:27:36 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b083b5fb858b08ef3f914418
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Add the thing to save the web lists.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 25 18:50:04 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/6a1a33d103f7476bc26c1346
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Use the new iniAppendSectionWithNamedStrings() function

    Should be better than what I was doing.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat Jan 25 18:54:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/31d116b46e449b9ccb15dceb
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    A typecast to suppress GCC warning about loss of constiness
    --- SBBSecho 3.23-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 Jan 28 15:29:58 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ee4ef92c7e392860dcc570e4
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Add defaults for first BBS list
    --- SBBSecho 3.23-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 Jan 28 15:32:44 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/03c892d0d28e27d56a4ea4b6
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Reload the lists after the list list is modified
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 10 15:49:46 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fa6b8ca2038a2e2cc84316c5
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Experimental summary thing... disabled, will be deleted

    I just want this in the history in case I ever want to play with
    the concept again.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Feb 21 17:16:26 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/bd6b5f01ce563118a97aa935
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Support YELLOW_IS_YELLOW in C128 80-column mode.

    C128 used CGA monitors, and at least the 1902 output yellow.
    An argument could be made that it should be the default.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 24 09:11:04 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/cff72c8662d0e5cbbde934ca
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix crash when copying entry

    Resolves ticket 195
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Jun 8 14:54:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/db76c6f979a1ebd14dc518f3
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Deferred has two 'R's.

    I don't want to reformat the whole menu though, so change the
    option to "Defer Negotiate".
    --- SBBSecho 3.27-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jun 9 10:27:46 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/62aebc1a7c9aca76516b8e8b
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix missed correction
    --- SBBSecho 3.27-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Sep 27 12:22:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a66f4347741a5767c8d5d563
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Put the URLs for the SyncTERM hosted lists in the help

    SyncTERM hosts a copy of the Synchronet BBS list at: http://syncterm.bbsdev.net/syncterm.lst
    and a copy of the Telnet BBS Guide list at: http://syncterm.bbsdev.net/telnetbbsguide.lst
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Sep 28 21:52:34 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f46fbef1a7668258ce3802d1
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    More BBS list loading optimizations

    When loading the BBS list, keep the list sorted and use bsearch()
    to check for duplicates. Previously, they were unsorted and a case
    insensitive string compare was performed between the new item and
    every other item in the list.

    After the last round of optimizations here, there was as much time
    being spent checking for duplicates as was being spent loading and
    parsing the data.

    Now the bulk of the time is once more spent in the iniGet* functions,
    and it's not my fault if it's slow.
    --- SBBSecho 3.29-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 16:43:06 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/650f27e31a06e3af0e395357
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Right, no VLAs. Thanks Microsoft.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 19:27:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/bab2ba5381a9d36b98ce01be
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Left-align RGB values when inactive too.

    It's a bit distraction to have them shuffle around as they get
    selected.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 19:53:48 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8da908c22853163120f01e52
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Make the mouse work and pad so it fits in

    Also, use MACROS because we can't use VLAs.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 19:56:48 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5d801b7485f7eb4c1f275ad0
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    And a little bit more help
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 19:58:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c2a229e62ee10ccbd63b60cf
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Touch up the help formatting
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 1 20:13:14 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d913a0be11daa757f38a2f97
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Only show mouse buttons when mouse is enabled
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Oct 2 08:46:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5252ed4355b4d996237a978d
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Put palette back to normal after editing a colour.

    Shouldn't make a difference since green and red aren't used by
    SyncTERM, but it's pretty bad for to leave them.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Oct 2 08:52:46 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/cb634c232190f9bf7bcfaa19
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix impossible Coverity issue

    Assumes UIFC will return MSK_INS to add a 17th item.
    Harmless to fix it though.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Oct 5 00:48:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/cdeefc2233113327af096260
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Remove unused funciton
    --- SBBSecho 3.30-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 7 06:53:06 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/af528a5b116bc3916f53e297
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Even reading the default settings is from the user list.

    While we're here, clean up some redundant code a bit.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Dec 7 01:48:30 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fb3fdc7130309a73ff97a374
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Wait up to a second for a keypress in BBS list.

    We already have nowait to force updates, so this is fine.
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Dec 18 12:50:54 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/eb95d5cef735de079e8b34a7
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix signed comparisons in intbufcmp()

    Makes negative values sort correctly. Noticable with the new
    explicit sort order feature.
    --- SBBSecho 3.33-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Dec 18 12:59:00 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3362dfaa1ea2fd610fa60763
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Re-sort list after changing explicit sort order

    The change wasn't being detected as a change to the list, so items
    were not re-sorted until something else changed or the list was
    re-loaded for other reasons.
    --- SBBSecho 3.33-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 Dec 30 17:15:22 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/20962b53d4e3492c98eee0d9
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix potential file stream leak

    When changing the number of key derivation iterations but the list
    is not currently encrypted, the list file would never be closed.

    Likely not the cause of the recent default settings issue on Windows.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Dec 31 20:37:36 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/eef0551b0c98c7fb1bdc64c5
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Don't pass the defaults pointer when we don't want to read them

    ie: Don't read default connection settings from system list or
    the web lists.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Feb 22 09:41:30 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/37040a2302385f7970938906
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Don't use strnicmp() with length of zero because Win32 is stupid.

    May fix tickets 224, 220, and 217.
    I need to boot Windows somewhere and test.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 23 11:23:14 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/19d9da43ee78d3fe989c8e6f
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix Custom Screen Mode Program Setting

    Was not shown in menu.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 15 01:06:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/75cc9b15e717d6cf77dc90b0
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix stack buffer overflows in bbslist.c build_edit_list()

    The opt[][69] array has 69-byte elements, but several sprintf() calls
    could write past that:

    - "Address %s" with item->addr (LIST_ADDR_MAX=64, +18 = 83)
    - "Phone Number %s", "Device Name %s", etc. (same field)
    - "GHost Program %s" with item->password (MAX_PASSWD_LEN=128, +18 = 147)
    - "BBS Username %s" with item->password (same)
    - "Font %s" with item->font (80 bytes, +18 = 98)

    Changed these to snprintf(opt[i++], sizeof(opt[0]), ...) to truncate
    instead of overflowing. Other sprintf() calls in the same function
    already used printf_trunc() or format short bounded values (Yes/No,
    small ints, "********") and are not affected.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 15 14:09:12 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/3c40ff95eaad51693eb4f60a
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix multiple bugs in bbslist.c

    - Add NULL check after malloc in BBS list entry creation, undoing the
    list manipulation on failure.
    - printf_trunc: guard against size_t underflow when remain_len < 5
    by falling back to "..." instead of indexing with a wrapped value.
    - Fix strlcpy using sizeof(tmpn) instead of sizeof(tmpv) for the
    destination buffer (harmless since both are same size, but wrong).
    - Fix memory leak: asprintf allocations for File Locations and Build
    Options showbuf dialogs were never freed. Add free(p) after each
    showbuf call, guarded by NULL check on p.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 21 17:44:34 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/153ec64873f7fe654a0c73c7
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Fix ticket 231

    Menu was being redrawn for no reason.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 21 20:46:06 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7a9b5cfe88159244e8b00139
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Put explicit sort order first in the default sort orders.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 21 21:19:24 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8c8e6adfe91282cb21824903
    Modified Files:
    src/syncterm/bbslist.c
    Log Message:
    Wow, fix the things where things were wrong.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)