• src/xpdev/os_info.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 15 16:01:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/676a437896e923401550b917
    Modified Files:
    src/xpdev/os_info.c
    Log Message:
    Fix unbounded sprintf appends in os_version() (Windows)

    After the initial safe_snprintf, two sprintf calls appended build
    number and service pack version without bounds checking, potentially overflowing the caller's buffer. Use safe_snprintf with remaining
    buffer space instead.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)