Skip to content

Commit

Permalink
fix stringop-truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Nov 14, 2017
1 parent d86e0b0 commit 2a62ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/impl/iutest_env.ipp
Expand Up @@ -342,7 +342,7 @@ IUTEST_IPP_INLINE void TestEnv::LoadEnvironmentVariable()
else if( detail::GetEnvironmentVariable("XML_OUTPUT_FILE", str+4, sizeof(str) - 4) )
{
IUTEST_PRAGMA_CRT_SECURE_WARN_DISABLE_BEGIN()
strncpy(str, "xml:", 4);
memcpy(str, "xml:", 4);
IUTEST_PRAGMA_CRT_SECURE_WARN_DISABLE_END()
ParseOutputOption(str);
}
Expand Down

0 comments on commit 2a62ea9

Please sign in to comment.