• src/xpdev/xpprintf.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Feb 8 08:42:00 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Feb 15 15:36:20 2024
    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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Feb 16 01:17:08 2024
    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().
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)