• Menu Building and Buffer Overflows

    From Phillip Kimble@2:333/801 to All on Sun Mar 23 19:20:19 2025
    Salve!

    The best part of BBSing is customizing the board to one's reflection & taste! Thus the reason a I enjoy MBSEBBS so much. It aint pretty, not alot of bells nor bling, but it is great at what it does!

    As I have been off the net for an extended period of time, please forgive me if
    this has already been highlighted...

    With that out of the way, something discovered today & finally learned;
    Menu option 6, Show Menu Prompt will cause Buffer Overflow
    terminating the callers session if control characters are used!

    Reading the 1.1.0 manual, The prompt shoudl be entered into the Optional Data
    field. However, if the control characters are used, it causes the buffer overflow situation.

    The easy fix is to move the prompt into the Display field. Everythjing works fine and no terminations...



    Ciao!
    Geezer < aka phiL >
    Sysop Geezer's Fido Hub


    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Geezer's Fido Hub :: mbse.gzrbbs.net :: Lerino, IT (2:333/801)
  • From Mortar M.@1:124/5016 to All on Tue Mar 25 14:29:42 2025
    Re: Menu Building and Buffer Overflows
    By: Phillip Kimble to All on Sun Mar 23 2025 19:20:19

    It would be helpful if there were back-end screenshots and not just from the user's POV.
    --- SBBSecho 3.24-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)