mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
switch to using snprintf from sprintf
This commit is contained in:
@@ -95,7 +95,7 @@ totext_caa(ARGS_TOTEXT) {
|
||||
* Flags
|
||||
*/
|
||||
flags = uint8_consume_fromregion(®ion);
|
||||
sprintf(buf, "%u ", flags);
|
||||
snprintf(buf, sizeof(buf), "%u ", flags);
|
||||
RETERR(str_totext(buf, target));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user