Commit faa31747 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Zero-initialize smb before using

Addresses CID 350318 
parent 169c6dcc
......@@ -236,6 +236,7 @@ int main(int argc, char **argv)
continue;
}
ZERO_VAR(smb);
SAFECOPY(smb.file,argv[x]);
p=strrchr(smb.file,'.');
s=strrchr(smb.file,'\\');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment