-
Rob Swindell authored
The fread() usage here did not need "addressing" (Commit 27fb52a1). 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().
Rob Swindell authoredThe fread() usage here did not need "addressing" (Commit 27fb52a1). 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().