• src/sbbs3/userdat.c

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Oct 2 19:25:26 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d83fbe2a41580e37314ea671
    Modified Files:
    src/sbbs3/userdat.c
    Log Message:
    Reject future birthdates in birthdate_is_valid()

    The validator had a lower bound (1900) but no upper bound, so a birthdate
    such as 09/11/2890 was accepted at new-user registration and stored,
    and getage() then reported a negative age (-864).

    A birthdate later than today is now invalid. Every entry path that
    validates (new-user and profile prompts via system.check_birthdate())
    rejects it, and getage() returns 0 for any such record already stored.

    Fixes #1277

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)