[decmain.cpp:122]: (error) Dangerous usage of 'infile_name' (strncpy doesn't always null-terminate it).
[decmain.cpp:128]: (error) Dangerous usage of 'outfile_data' (strncpy doesn't always null-terminate it).
Source code is
strncpy(infile_name, iname, sizeof(infile_name));
strncpy(outfile_data, oname, sizeof(outfile_data));
if ((ifp = fopen (infile_name, "rb")) ==NULL)
{
perror(iname);
return;
}
if ((fpdata = fopen (outfile_data, "wb")) ==NULL)
Suggest properly terminate the two strings before calling fopen.