• src/sbbs3/str.cpp

    From rswindell@VERT to CVS commit on Mon Mar 30 14:42:00 2020
    src/sbbs3 str.cpp 1.84 1.85
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9062

    Modified Files:
    str.cpp
    Log Message:
    Use the LEN_PASS macro for the password field length, not a numeric constant.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 22 12:48:27 2020
    src/sbbs3 str.cpp 1.86 1.87
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23618

    Modified Files:
    str.cpp
    Log Message:
    Revert commit 1.70 from Sep-2015, use the documented behavior of the
    "Use Location in User List" option. When set to false, the user's *note* (not IP address) is to be included in the user/logon lists.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Sep 19 19:50:52 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/33a47954acf27412253bde79
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Use the passthru socket connection for node-spy

    This enables node-spying via SSH or spying on a node that is using SSH.
    Thanks Altere for the bug report.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Sep 19 22:28:28 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5c711045305acc7d52f03b63
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Improve the ANSI sequence parsing/stripping/pass-through in spy()

    Strip all *but* the expected keyboard input sequences (arrow keys, pgup/dn, home, end, insert). Pass-through a bare ESC key (albeit with delay). ESC immediately followed by a key other than '[' should be very quickly passed through.
    Increase the max ANSI sequence length from 31 to 256 chars.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Oct 24 22:05:59 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/07c561f900bd466780ff1966
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    CRLF after each protocol option when less than 80 column terminal

    Beautification for 40 column terminals.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 15:13:58 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1e1f08debc3aa9ed420cad99
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    strcpy -> SAFECOPY

    CID 33568
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 15:13:58 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/03760e03ace9ac78c807b199
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    read_ar is no longer a ptr, it's an array

    CID 319112
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 15:27:36 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/79e20c8d13e5c3ae1b735e05
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    This strcpy() needs to remain as was (caught be GCC).
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/cd20a33c68e84dedb13b1cf5
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix CID 33261 Argument cannot be negative
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Mar 3 16:45:56 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/431a70b1c6193e4d1df4f39b
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix CID 33227: Argument cannot be negative
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Mar 3 16:45:56 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/7aa7df50b45902c7902e91a6
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    More correct error message
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Mar 5 11:48:13 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bfac7e38c8f41607afa0d16f
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix CID 174323: Unintended sign extension

    At least, I think this fixes it.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Mar 25 01:16:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1f0d53ca86a9bbdac81dd234
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Remove the hard-coded ".msg" extension from data/subs/*.msg display file

    And data/dirs/*.msg display file. Now you can have any supported menu file in this location if you wish.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue May 31 18:28:27 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/402f4377f3bb0c9108c22d54
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Close the open user.dat upon (unlikely/impossible) malloc error
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Feb 9 19:08:22 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0975d578353111fc53f95127
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix 30-year-old bug (obvious password patterns) in chkpass()

    Off-by-one bug caused the comparison of only the first 3 chars of the proposed password against "QWE", "ASD", and "!@#" rather than the 4 character pattern match as intended.

    These lines should be removed anyway since this can be easily achieved via password.can (as intended), but I couldn't help myself but to fix this ancient bug.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Oct 25 19:26:24 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e0d9cc8e28042df7cd86f647
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix g++ compile error (did not appear with MSVC)

    error: ISO C++ forbids comparison between pointer and integer
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Feb 2 00:26:28 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/76cda34346beea2052cee415
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    Fix sbbs_t::trashcan(), broken one month ago

    Transposed the order of parameters in commit 20dbd40c. Oops.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net