• src/sbbs3/addfiles.c delfiles.c dupefind.c filelist.c ftpsrvr.c jsexec

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 18, 2021 02:30:46
    https://gitlab.synchro.net/main/sbbs/-/commit/99dbeb149f9e6d368ad8e0fb
    Modified Files:
    src/sbbs3/addfiles.c delfiles.c dupefind.c filelist.c ftpsrvr.c jsexec.c load_cfg.c load_cfg.h mailsrvr.c main.cpp makeuser.c qwknodes.c sbbscon.c sbbsecho.c src/sbbs3/scfg/scfg.c scfg.h scfgnode.c src/sbbs3/scfglib.h scfglib1.c scfglib2.c services.c smbactiv.c websrvr.c
    Log Message:
    Safe string handling with config-load error messages

    We were just trusting that the error strings would be shorter than 256 (usually), but since we're including paths and strerror() results, we really have no control over the length of the error strings. So enforce some healthy boundaries. This could explain the crashes that Divarin of Mutiny is seeing with SCFG on WinXP or maybe it was the truncsp(strerror()) stuff that was just removed as well. We'll see...

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net