• src/xpdev/xp_syslog.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, June 05, 2023 16:54:36
    https://gitlab.synchro.net/main/sbbs/-/commit/ba2f697172f66281fc8202c1
    Modified Files:
    src/xpdev/xp_syslog.c
    Log Message:
    Give this copy/pasted resolve_ip() the same fixes as main.cpp and mailsrvr.c

    Don't deref a null pointer and return an in_addr_t instead of ulong.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 15, 2026 16:01:53
    https://gitlab.synchro.net/main/sbbs/-/commit/2f1c39f3e483920a5b8e62f2
    Modified Files:
    src/xpdev/xp_syslog.c
    Log Message:
    Fix two bugs in xp_syslog.c

    1. fputs() arguments swapped in xp_vsyslog() LOG_PERROR path:
    fputs(stderr, msg_to_send) passes the FILE* as the string and
    the string as the FILE*, causing a crash when LOG_PERROR is set.

    2. xp_syslog() calls native vsyslog() instead of xp_vsyslog(),
    bypassing the custom log_host UDP syslog functionality on Unix.
    On non-Unix platforms, vsyslog may not exist at all.

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

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