_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/sbbs3/main.cpp services.cpp src/xpdev/ini_file.c multisock.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat May 2 18:58:15 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7395d2adefc34cf74caabc2f
    Modified Files:
    src/sbbs3/main.cpp services.cpp src/xpdev/ini_file.c multisock.c
    Log Message:
    sbbs3,xpdev: enlarge socket-error message buffers from 128 to 256

    On Windows, FormatMessageA() inside socket_strerror() can produce
    descriptions longer than 128 bytes for some WSA errors. WSAESHUTDOWN's localized text is ~135 bytes ("A request to send or receive data was
    disallowed because the socket had already been shut down in that
    direction with a previous shutdown call."). When the buffer is too
    small, FormatMessageA fails with ERROR_INSUFFICIENT_BUFFER and the
    caller sees the fallback "Error 122 getting error description" instead
    of the real message.

    Bump the seven remaining call sites that still passed [128] to
    SOCKET_STRERROR (main.cpp output_thread, services.cpp x3, multisock.c
    x2, ini_file.c) up to [256], matching services.cpp's other buffers
    (error[256] at lines 283 and 1940).

    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

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