• src/sbbs3/xtrn.cpp xtrn_sec.cpp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed May 22 17:16:09 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/40f429e0d8bfdc65caa3b449
    Modified Files:
    src/sbbs3/xtrn.cpp xtrn_sec.cpp
    Log Message:
    Clear mouse hotspots when executing *any* external program/script

    Previously, we only cleared hotspots when executing any external from the external program section (doors menu). This means that invoking a script or external program (e.g. via JS bbs.exec()) from anywhere else, any current
    mouse hotspots would remain active. Disable those.

    This fixes issue #758

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Nov 3 22:17:41 2026
    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 <noreply@anthropic.com>

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