• src/xpdev/netwrap.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Feb 4 19:16:47 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1b18f682ed34f7d25b1837cb
    Modified Files:
    src/xpdev/netwrap.c
    Log Message:
    malloc() result check, suppress MSVC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Mar 2 22:42:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5ad72a8fa1261e4573b58d45
    Modified Files:
    src/xpdev/netwrap.c
    Log Message:
    getNameServerList() was returning a list with (1) blank entries

    ... when the host was configured with no IPv4 DNS servers.

    So don't add blank IP addresses to the list of hostnames returned from this function. If there are no IPv4 DNS servers, this function should've (and will now) return an empty list.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Sun Mar 15 16:01:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4d10a54239ab8c52d2061abf
    Modified Files:
    src/xpdev/netwrap.c
    Log Message:
    Fix addrinfo linked list traversal in parseIPv6Address()

    cur++ is undefined behavior on a linked list Ä addrinfo nodes from getaddrinfo() are not contiguous in memory. Use cur = cur->ai_next
    to follow the linked list correctly.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Mar 21 20:05:42 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/775e87a6145aaaf4673a8e52
    Modified Files:
    src/xpdev/netwrap.c
    Log Message:
    Add IPv6 support to getHostNameByAddr()

    Make isValidAddressString() work on Windows when WinSock hasn't already been initialized.
    Update the buffers passed to xp_inet_pton() from isValidAddressString() to be non-structs (which were getting clobbered by xp_inet_pton()).

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