Commit d386eb54 authored by Mark Andrews's avatar Mark Andrews
Browse files

switch to using snprintf from sprintf

parent abb8813a
......@@ -95,7 +95,7 @@ totext_caa(ARGS_TOTEXT) {
* Flags
*/
flags = uint8_consume_fromregion(&region);
sprintf(buf, "%u ", flags);
snprintf(buf, sizeof(buf), "%u ", flags);
RETERR(str_totext(buf, target));
/*
......
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