Subj : src/sbbs3/smbutil.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Mon 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 commitThe fread() usage here did not need "addressing" (Commit 1b56dc96).This caused messages posted via smbutil to be short (e.g. 0 or 1 bytesin length). Reported by Accession via Idle Relay Chat.Also, don't call strlen() on msgtxt which could be NULL, causing segfaultin final printf() callin in postmsg(). --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .