• src/sbbs3/xtrn.cpp xtrn_sec.cpp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, November 03, 2026 22:17:41
    https://gitlab.synchro.net/main/sbbs/-/commit/13cde10324e942c63f139912
    Modified Files:
    src/sbbs3/xtrn.cpp xtrn_sec.cpp
    Log Message:
    Address Coverity CIDs 661496 and 661497 in door launching

    xtrndat(): when writing BBSDEV.DRP or DOORDROP.INI fails, or BBSDEV.DRP
    cannot be made read-only, remove the file with fremove(), which ignores
    a missing file and reports any other failure. A failed removal after
    the chmod() failure would otherwise leave a complete but writable drop
    file behind with nothing in the log. (CID 661496)

    external(): annotate the /dev/null redirection in the forked child. A descriptor of 0-2 is left open because it is now one of the child's
    standard streams. (CID 661497)

    Co-Authored-By: Claude Opus 5.5 <[email protected]>

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