• src/sbbs3/str.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Feb 9 19:08:22 2023
    Modified Files:
    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