• src/sbbs3/telgate.cpp

    From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Monday, May 27, 2024 23:14:45
    https://gitlab.synchro.net/main/sbbs/-/commit/4fd92c4eda5760f91fb26599
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    telnet_gateway() is now, by default, a telnet proxy

    Meaning, it'll negotiate all Telnet options with the remote server (assuming not an RLogin server), so long as the TG_PASSTHRU option is *not* set.

    This allows more Telnet servers to work as expected, especially when the
    client (BBS user) is not using a Telnet client!

    Fix issue #432
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Monday, May 27, 2024 23:25:08
    https://gitlab.synchro.net/main/sbbs/-/commit/559a7ad26d44f531aae80035
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix GCC compile error (can't use __FUNCTION__ macro like that)

    And warning about signed/unsigned compare
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Monday, May 27, 2024 23:30:23
    https://gitlab.synchro.net/main/sbbs/-/commit/0667337e1f450c6922bad8d5
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Address unused return value warnings from GCC
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Saturday, August 10, 2024 19:44:50
    https://gitlab.synchro.net/main/sbbs/-/commit/6faadeebda655f68fe2eeb7f
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix CID 508288 (STRING_NULL)

    I'm not clear why Coverity suddenly thinks that getstr() doesn't
    nul-terminate strings, but whatever: NUL-terminate the buf before passing it
    to getstr(). <shrug>
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Friday, August 16, 2024 17:32:55
    https://gitlab.synchro.net/main/sbbs/-/commit/4679ceaabf0bec0f0e80d7b7
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Log warning if sendsocket() fails to send string passed to telgate()

    Eliminates GCC warning about not checking return value of write/sendsocket()
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Friday, August 16, 2024 17:32:55
    https://gitlab.synchro.net/main/sbbs/-/commit/53f9573cf87a5d9735b2b110
    Modified Files:
    src/sbbs3/telgate.cpp
    Log Message:
    Fix small memory leak when telgate() was used to proxy for a telnet server

    At least 512 bytes per call.