• src/sbbs3/scfglib1.c

    From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Mon Mar 20 17:37:58 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/aa89e19333de108d30a41fca
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Address MSVC warning: conversion from 'double' to 'unsigned int'... possible loss of data (yeah, yeah, we know)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 13 18:45:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0ecf245c77cb0092594e98bf
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Clamp the security level lines per message value between 1 and 65535If a user's security level lines per message was set to '0', bad things wouldhappen to the heap if the user posted/sent a message. '1' is a reasonableminimum value. If you don't want a user/group of users to send/post messages,there are restrictions for achieving that. Also this setting is (currently,at least) 16-bit, so clamp it there too on the high end.Also clamp the expire-to security level setting between 0 and 99, while we'rehere and noticed that this value wasn't being sanitized either.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on macOS)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 9 22:57:34 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7f769de4ee6fc3804410d528
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Better config (.ini) file read error detection and reporting

    It was possibly before for fgets() failures to be pretty hard to diagnose.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)