• src/sbbs3/wordwrap.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Feb 17 10:55:55 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/20f7606022783313c57e61f6
    Modified Files:
    src/sbbs3/wordwrap.c
    Log Message:
    Fix CID 174276 various malloc()/realloc() failure handling

    Have free_paragraphs() explicitly allow paragraphs to be NULL and
    have everything use the fail_return which now free()s ret.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Jun 23 17:50:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/68b2fa751eadf95750306077
    Modified Files:
    src/sbbs3/wordwrap.c
    Log Message:
    Sanity-check the oldlen argument value to wordwrap()

    If the oldlen param value is less than one, set to a sane non-zero value (79). Fix issue #576

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