• src/xpdev/sockwrap.c

    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/1543bdb9056f4e8432e0b895
    Modified Files:
    src/xpdev/sockwrap.c
    Log Message:
    Fix addrinfo linked list traversal in xp_inet_pton()

    Same bug as netwrap.c — cur++ on an addrinfo linked list is undefined behavior since nodes are not contiguous. Use cur = cur->ai_next.

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

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