• src/sbbs3/smbutil.c

    From rswindell@VERT to CVS commit on Thursday, March 20, 2014 00:38:39
    src/sbbs3 smbutil.c 1.104 1.105
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6941

    Modified Files:
    smbutil.c
    Log Message:
    Truncate *.hash files during maintenance to accomodate max-msgs or max-crcs number of hash sets (don't let these files grow indefinitely).


    ---
    Synchronet Vertrauen Home of Synchronet telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 25, 2014 18:59:25
    src/sbbs3 smbutil.c 1.105 1.106
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28164

    Modified Files:
    smbutil.c
    Log Message:
    Use the specified 'from' extension (number, specified with the -e option) for posted messages, not just email/netmail.


    ---
    Synchronet Vertrauen Home of Synchronet telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Friday, August 21, 2015 23:30:15
    src/sbbs3 smbutil.c 1.106 1.107
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29670

    Modified Files:
    smbutil.c
    Log Message:
    Fix warning.




    ---
    Synchronet Vertrauen Home of Synchronet telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sunday, December 06, 2015 03:13:47
    src/sbbs3 smbutil.c 1.107 1.108
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26693

    Modified Files:
    smbutil.c
    Log Message:
    smbutil V (capital 'v') now output more verbose header data than v (lower-case) All other command options remain case insensitive.


    ---
    Synchronet Vertrauen Home of Synchronet telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, November 15, 2017 22:13:21
    src/sbbs3 smbutil.c 1.113 1.114
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Don't "manage the HASH file" unless either max_msgs or max_crcs is set
    (if both are zero, that implies infinite hash storage - why not).
    Display message attr value in the 'r'ead mode.
    Added 'D'elete message (toggle Delete attribute) in 'r'ead mode.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, November 16, 2017 01:41:04
    src/sbbs3 smbutil.c 1.114 1.115
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Generate an RFC822 (generic) Message-ID header field when importing msgs
    (using -i). These aren't quite as good as the IDs we can generate when we
    have access to the BBS configuration (scfg_t), but it's decently unique and identifiable.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, November 24, 2017 17:30:50
    src/sbbs3 smbutil.c 1.115 1.116
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    smbutil v2.34:
    - Added 'R' (capital 'R') command, which can be used to repair a corrupted
    "SMB header" and status header in the *.shd file. The status header
    fields "max_msgs", "max_crcs", and "max_age" are not recovered (just
    initialized to 0) since we don't have those configuration settings in
    smbutil. Modifying the base configuration in SCFG and saving changes
    will recover those values.
    - Added '-C' (capital 'C') option: to continue to open a msg base even when
    some forms of SMB header corruption are detected. This option may be used
    in combination with some commands (e.g. 'c' and 'R') to recover a
    corrupted message base.

    Command-line options were previously not case-sensistive (all options were treated the same regardless of letter case) - now, most options are still treated the same regardless of case, but newer options will be redefining
    the uppercase equivalent (e.g. '-C' is now not the same as '-c').



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, November 24, 2017 17:38:28
    src/sbbs3 smbutil.c 1.116 1.117
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Don't show the new status header values as part of the 'R' command.
    A good way to use the 'R' command woud be:
    "smbutil -C Rcs <base>" which tells smbutil to:
    -continue on error opening the msg base (e.g. corruption)
    -re-init the SMB/status headers
    -change/config the status header values (e.g. max msgs, crcs, age)
    -show the status header



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to rswindell on Saturday, November 25, 2017 10:17:54
    Hello rswindell,

    On Fri Nov 24 2017 17:38:28, rswindell wrote to CVS commit:

    src/sbbs3 smbutil.c 1.116 1.117
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Don't show the new status header values as part of the 'R' command.
    A good way to use the 'R' command woud be:
    "smbutil -C Rcs <base>" which tells smbutil to:
    -continue on error opening the msg base (e.g. corruption)
    -re-init the SMB/status headers
    -change/config the status header values (e.g. max msgs, crcs, age)
    -show the status header

    Were the last three commits addressing the issue I emailed you with (ie: smbutil stopping on some of these errors (seemlingly broken headers coming from
    other systems via echomail) and unfixable via fixsmb)? Looks like it would, but
    I'm just making sure.

    And if so, thanks for looking into it! ;)

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Saturday, November 25, 2017 13:47:57
    Re: src/sbbs3/smbutil.c
    By: Accession to rswindell on Sat Nov 25 2017 10:17 am

    Hello rswindell,

    On Fri Nov 24 2017 17:38:28, rswindell wrote to CVS commit:

    src/sbbs3 smbutil.c 1.116 1.117
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Don't show the new status header values as part of the 'R' command.
    A good way to use the 'R' command woud be:
    "smbutil -C Rcs <base>" which tells smbutil to:
    -continue on error opening the msg base (e.g. corruption)
    -re-init the SMB/status headers
    -change/config the status header values (e.g. max msgs, crcs, age) -show the status header

    Were the last three commits addressing the issue I emailed you with (ie: smbutil stopping on some of these errors (seemlingly broken headers coming from
    other systems via echomail) and unfixable via fixsmb)? Looks like it would, but
    I'm just making sure.

    And if so, thanks for looking into it! ;)

    You could recover that message base using the "smbutil -C R" command, now. But that it doesn't explain how the terminal output ended up in your message base file to begin with. Did you see my email reply and follow-up questions?

    digital man

    Synchronet/BBS Terminology Definition #3:
    ASCII = American Standard Code for Information Interchange
    Norco, CA WX: 67.0F, 43.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to Digital Man on Saturday, November 25, 2017 17:23:26
    Hello Digital,

    On Sat Nov 25 2017 13:47:56, Digital Man wrote to Accession:

    And if so, thanks for looking into it! ;)

    You could recover that message base using the "smbutil -C R" command,
    now. But that it doesn't explain how the terminal output ended up in
    your message base file to begin with. Did you see my email reply and follow-up questions?

    I did (and replied) now that I knew to check for it in my spam folder. Hopefully now that I've marked emails from you as "not junk" that won't happen again. ;)

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    Synchronet thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Saturday, November 25, 2017 19:38:48
    Re: src/sbbs3/smbutil.c
    By: Accession to Digital Man on Sat Nov 25 2017 05:23 pm

    Hello Digital,

    On Sat Nov 25 2017 13:47:56, Digital Man wrote to Accession:

    And if so, thanks for looking into it! ;)

    You could recover that message base using the "smbutil -C R" command, now. But that it doesn't explain how the terminal output ended up in your message base file to begin with. Did you see my email reply and follow-up questions?

    I did (and replied) now that I knew to check for it in my spam folder. Hopefully now that I've marked emails from you as "not junk" that won't happen again. ;)

    Okay, cool. No problem.

    digital man

    Synchronet/BBS Terminology Definition #11:
    DCD = Data Carrier Detect
    Norco, CA WX: 67.0F, 43.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, February 20, 2018 19:38:47
    src/sbbs3 smbutil.c 1.117 1.118
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Allow the default umask (typically 022) to be overridden with the new
    -U (capital 'U') command-line option (e.g. '-U0' or '-U2' or '-U077').



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, February 22, 2018 14:51:21
    src/sbbs3 smbutil.c 1.118 1.119
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20948

    Modified Files:
    smbutil.c
    Log Message:
    When configuring a message base (changing values in the "status header'),
    allow the "last_msg" value to be changed as well.
    When dumping a msgbase index, show 'M' for messages (not blank).
    When running maintenance, read the entire index in one shot.
    Don't display progress (percentage counting) during maintenance (just
    slows it down).
    When reading messages, get the plain-text version (MIME decode if needed).
    When a message base fails to open, continue processing additional message bases if specified on the command-line.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, February 22, 2018 15:07:27
    src/sbbs3 smbutil.c 1.119 1.120
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22677

    Modified Files:
    smbutil.c
    Log Message:
    Added new commands:
    L (capital 'L'): Lock a message base
    U (capital 'U'): Unlock a message base

    These commands maybe used to insure that a message base is not modified while being backed-up (but don't forget to unlock them when you're done!).

    Also note: if you back up all the files (including *.lock), then the backed-up message bases will also be locked and will need to be unlocked (i.e. *.lock removed) before they may be used again if/when restored.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, March 04, 2018 13:06:02
    src/sbbs3 smbutil.c 1.120 1.121
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26312

    Modified Files:
    smbutil.c
    Log Message:
    Re-lock the msg base in packmsgs() when re-opening (to set status header),
    so that the smb_unlock() in main() doesn't fail and display the harmless
    error:
    Error -207 (smb_unlock 2 'No such file or directory' removing mail.lock) unlocking mail



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, March 08, 2018 19:54:13
    src/sbbs3 smbutil.c 1.121 1.122
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Output a status line when a messages is imported/added to a msgbase.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, March 09, 2018 23:17:47
    src/sbbs3 smbutil.c 1.123 1.124
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25272

    Modified Files:
    smbutil.c
    Log Message:
    Fix last Clang warning.




    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, March 12, 2018 23:22:54
    src/sbbs3 smbutil.c 1.124 1.125
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Fix bug introduced in rev 1.119: When reading in the msgbase index
    (.sid file), don't divide the fread() results (it's already in number of records read). This could cause msgbase maintenance to not take place
    or corruption of a msg base.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, March 13, 2018 22:41:41
    src/sbbs3 smbutil.c 1.125 1.126
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20348

    Modified Files:
    smbutil.c
    Log Message:
    Use smb_hfield_netaddr() to properly support FidoNet netmail via the 'n' (import netmail) command along with the '-n' option to set the recipient
    net address (and network type). Previously, only Internet or QWK netmail
    was supported.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, April 30, 2018 16:02:14
    src/sbbs3 smbutil.c 1.126 1.127
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4120

    Modified Files:
    smbutil.c
    Log Message:
    maint(): don't truncate the .sid and .hash files to 0-bytes before writing their
    new contents,
    Instead truncate to the new length after writing the new contents. This should make the files more tolerant of "out of disk space" situations and reduce
    the risk of lost data (0-byte files) due to low/no free disk space.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 08, 2018 15:38:22
    src/sbbs3 smbutil.c 1.127 1.128
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3657

    Modified Files:
    smbutil.c
    Log Message:
    Added support for referencing a message on the command-line with the
    'l' (list messages), 'x' (dump index), 'r' (read msgs), and 'v' (view msgs) commands by "days old", by specifying a negative number (in days).
    (e.g. "smbutil r-30" would read messages posted within the past 30 days).
    This was added to test the smb_getmsgidx_by_time() function, but has some
    value otherwise I suppose.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, October 05, 2018 01:23:33
    src/sbbs3 smbutil.c 1.128 1.129
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Allow the message number for the l/r/x/v commands to be specified as an
    actual message number (rather than a 1-based message index offset) by using #<number>, e.g. "smbutil r#3694" will read the message base starting at
    message number 3694, if it exists.

    Also documented the [-n] syntax for reading/listing messages less than
    n days old.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, January 03, 2020 12:31:54
    src/sbbs3 smbutil.c 1.131 1.132
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Add new command-line option:
    -r = display raw message body text (not MIME-decoded)



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 03, 2020 19:37:26
    src/sbbs3 smbutil.c 1.132 1.133
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Strip Ctrl-A codes from body text before printing.
    Treat \n the same as \r (next msg cmd)when reading msgs.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, April 29, 2020 23:36:33
    src/sbbs3 smbutil.c 1.133 1.134
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8217

    Modified Files:
    smbutil.c
    Log Message:
    Detect the charset used in the mesage body (ASCII, CP437, or UTF-8) and set the FIDOCHARSET header field appropriately.
    Detect UTF-8 in any of the viewable header fields and set the appropriate aux attribute flag.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, May 01, 2020 18:23:32
    src/sbbs3 smbutil.c 1.134 1.135
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Resolve GCC warnings.
    Support the continue-on-error option (-C) with the -R (repair) command.




    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 24, 2020 17:40:34
    src/sbbs3 smbutil.c 1.135 1.136
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27737

    Modified Files:
    smbutil.c
    Log Message:
    Line up the "index record" value with the other header fields as displayed by smb_dump_msghdr().


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Saturday, September 26, 2020 01:32:04
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8b9ad9404ea61764c8e38cb4
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Don't count vote/poll messages when purging to meet the maximum msgs setting

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Saturday, September 26, 2020 13:38:58
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c018dfb88f45e97f2553764f
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Use smb_msg_type() to include poll messages in total message count.

    Don't exclude polls form the message count used for max_msgs enforcement
    during maintenance.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thursday, October 08, 2020 17:05:12
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c4c9902d6e4f6ae87d9208c4
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Replace ESC chars with '.' when viewing messages, support '-<count>' with 'r'.

    When reading messages, circumvent ANSI-encoded messages by replacing the ESC character (ASCII 27) with '.'. This could be made an optional behavior if someone really wants ANSI-encoded messages to be read via smbutil.

    Also, allow continuous reading of 1 or more consecutive messages using the -<digit> option (no prompting).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thursday, October 08, 2020 17:28:32
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/2edad5267d61db01439d5396
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    <deon[m]> could be helpful if "l" (list) shows the index id needed as well

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, May 10, 2021 17:05:21
    https://gitlab.synchro.net/main/sbbs/-/commit/f92a14cd738c03df9505702e
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Fix issue with the import message commands introduced in previous commit

    The fread() usage here did not need "addressing" (Commit 1b56dc96).

    This caused messages posted via smbutil to be short (e.g. 0 or 1 bytes
    in length). Reported by Accession via Idle Relay Chat.

    Also, don't call strlen() on msgtxt which could be NULL, causing segfault
    in final printf() callin in postmsg().

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, June 05, 2021 14:53:40
    https://gitlab.synchro.net/main/sbbs/-/commit/d653a6d97c48dc47819e399f
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Add new commands to flag/unflag all messages for deletion

    The command to delete and remove all messages is changed from 'd' to 'D'.
    This operation is not reversable.

    New commands are 'd' (flag all msgs for deletion) and 'u' (undelete all msgs).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, June 06, 2021 04:02:21
    https://gitlab.synchro.net/main/sbbs/-/commit/19975dfafd9041acaf6e3221
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Resolved sign/unsigned compare warning

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, February 23, 2022 23:25:45
    https://gitlab.synchro.net/main/sbbs/-/commit/7be94765a4b73ecb93c97319
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Comment intentional case fall-through

    CID 33205

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/2cd7d767f3e71cd522c73da1
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'ms'g' before use

    Addresses CID 350316

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/831438fad7fb9cfcf4ec72c9
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'msg' before use

    Addresses CID 350312

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/31864868ed05e82aa601f466
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'msg' before use

    CID 350279

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 02, 2022 18:14:50
    https://gitlab.synchro.net/main/sbbs/-/commit/ecce2a8a402e7330486bf423
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Detect smb_fallocdat() and ftell() failures

    CID 33245

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 02, 2022 18:14:50
    https://gitlab.synchro.net/main/sbbs/-/commit/9169e4aa90c65ce7d5bd8f2d
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Detect/report smb_fallochdr() and ftell() failures

    Fix CID 33244: Argument cannot be negative

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, March 03, 2022 16:45:56
    https://gitlab.synchro.net/main/sbbs/-/commit/c40ef9243970d5228e7473ef
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Check for negative filelength() return values

    e.g. CID 229593: Negative loop bound

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, March 12, 2022 21:09:16
    https://gitlab.synchro.net/main/sbbs/-/commit/07580ea7b1b6e204c4c5400b
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Display textual version of msg attributes when using 'r'ead command

    Also displays net and aux attribute values when non-zero (weren't displayed
    at all with the 'r'ead command previously).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, March 12, 2022 23:21:15
    https://gitlab.synchro.net/main/sbbs/-/commit/4b5a75c3ae3f207e6cc71cbd
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Address warnings introduced in previous commit

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, March 13, 2022 00:26:38
    https://gitlab.synchro.net/main/sbbs/-/commit/5ee74077200205a13bbbf60c
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Fix CID 350312: Uninitialized scalar variable

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