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