We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 942196b commit b33cfe2Copy full SHA for b33cfe2
include/boost/gil/extension/io/tiff/detail/log.hpp
@@ -45,7 +45,7 @@ class console_log
45
)
46
{
47
char buf[1000];
48
- sprintf(buf, fmt, ap);
+ snprintf(buf, 1000, fmt, ap);
49
std::cout << "error: " << buf << std::endl;
50
}
51
@@ -55,7 +55,7 @@ class console_log
55
56
57
58
59
std::cout << "warning: " << fmt << std::endl;
60
61
};
0 commit comments