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

Zero-init 'msg' before use

Addresses CID 350312
parent 2cd7d767
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1061,6 +1061,7 @@ void packmsgs(ulong packable)
m=n=0;
for(l=smb.status.header_offset;l<length;l+=size) {
printf("\r%2lu%% ",(long)(100.0/((float)length/l)));
ZERO_VAR(msg);
msg.idx.offset=l;
if((i=smb_lockmsghdr(&smb,&msg))!=0) {
printf("\n(%06lX) smb_lockmsghdr returned %d\n",l,i);
......
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