Skip to content
Snippets Groups Projects
Commit 2cd7d767 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Zero-init 'ms'g' before use

Addresses CID 350316
parent faa31747
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -620,6 +620,7 @@ void viewmsgs(ulong start, ulong count, BOOL verbose)
if(!count)
count=~0;
while(l<count) {
ZERO_VAR(msg);
fseek(smb.sid_fp,((start-1L) + l) * idxreclen,SEEK_SET);
if(!fread(&msg.idx,sizeof(msg.idx),1,smb.sid_fp))
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment