• src/sbbs3/js_file.c

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sat Sep 21 13:08:40 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/6ba59a06b546c1ed0e3b2b8b
    Modified Files:
    src/sbbs3/js_file.c
    Log Message:
    Add missing NULL pointer check to js_iniReadAll()

    iniReadFile() can return NULL upon file read error or malloc error. Let's not crash if that happens.
    --- 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 Tue Oct 1 00:11:38 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5e1087e457db2b41dab45deb
    Modified Files:
    src/sbbs3/js_file.c
    Log Message:
    File.read() encodes base64, it doesn't decode.
    --- 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 Sun Jan 26 22:45:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b580def0507913d01bd70cea
    Modified Files:
    src/sbbs3/js_file.c
    Log Message:
    Fix spurious call to JS_THIS_OBJECT()

    This appears to be why valgrind on FreeBSD was failing.
    You can't actually call this in a constructor because creating
    this is the whole point of calling it.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Mon Feb 10 20:43:12 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d474410052e6d6022d2b3af4
    Modified Files:
    src/sbbs3/js_file.c
    Log Message:
    Use iniGetSectionList() instead of iniReadSectionList()

    ... in File.iniGetSections() method

    because iniReadSectionList() doesn't recognize !include directives.

    This fixes issue #871 whereby modopts.js couldn't find sections in modopts.d/*.ini files.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)