• src/sbbs3/postmsg.cpp

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Oct 24 15:49:30 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/33a8b69cfbbd8194e3519608
    Modified Files:
    src/sbbs3/postmsg.cpp
    Log Message:
    Strip control chars/ctrl-A sequences from msg subject in notify()We may want Ctrl-A sequences in the telegram subject, but not in the messagesubject
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Sun May 7 23:22:44 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/4a86ab8768e486a58d22d55e
    Modified Files:
    src/sbbs3/postmsg.cpp
    Log Message:
    Bounds-check subnum in savemsg()It's possible to use savemsg() (from JS MsgBase.save_msg()) to add a messageto a message base that's not a sub-board (not configured in SCFG->MessageAreas and not the "mail" base), but in that case, savemsg() would dereferencean invalid sub in the scfg->sub array and crash. So use is_valid_subum()to insure the subnum is a valid sub before using as an index.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)