• 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 Sunday, January 17, 2021 18:30:46
    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