• src/sbbs3/str.cpp

    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