• 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:00
    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:00
    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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 22, 2024 06:50:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3aab34e03cebd6f0d26fe740
    Modified Files:
    src/xpdev/xpprintf.c
    Log Message:
    Remove do-nothings that Coverity complains do nothing.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 22, 2024 06:50:00
    https://gitlab.synchro.net/main/sbbs/-/commit/78e67f2c4d1389c40a184f28
    Modified Files:
    src/xpdev/xpprintf.c
    Log Message:
    Avoid pasing NULL to strto*() functions.

    Whill this is perfectly legal and is not a problem, Coverity complains.

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