• src/xpdev/xpprintf.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 08, 2024 08:42:00
    https://gitlab.synchro.net/main/sbbs/-/commit/72305c4cfe7afe3106442269
    Modified Files:
    src/xpdev/xpprintf.c
    Log Message:
    Fix memory leak on realloc failure in xp_aprintf_next()

    The caller of this function must clobber the passed in pointer,
    and we're returning NULL meaning we would be overwriting the pointer
    to the allocation.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 15, 2024 15:36:21
    https://gitlab.synchro.net/main/sbbs/-/commit/8dff1f0f5bbc9f59a53716fa
    Modified Files:
    src/xpdev/xpprintf.c
    Log Message:
    Re-enabled use of strtold() for long doubles... it is likely
    ubiquitous now (except for Borland of course, which doesn't count)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, February 16, 2024 01:17:08
    https://gitlab.synchro.net/main/sbbs/-/commit/2dd514d0f928f4ab62d50a94
    Modified Files:
    src/xpdev/xpprintf.c
    Log Message:
    Use strtoull() converting a string to a size_t

    Except on Borland, which presumably doesn't have strtoull().

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