]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #169: Fix warning for daemon/remote.c output may be truncated
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Feb 2020 14:08:10 +0000 (15:08 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Feb 2020 14:08:10 +0000 (15:08 +0100)
  from snprintf.

daemon/remote.c
doc/Changelog

index 1782a39cad7c5901c0c1a23e0dba09a0c275cb5c..f4b7298cb3d9eccd8af5da8a7aa854127f863fdb 100644 (file)
@@ -907,7 +907,7 @@ static int
 print_ext(RES* ssl, struct ub_stats_info* s)
 {
        int i;
-       char nm[16];
+       char nm[32];
        const sldns_rr_descriptor* desc;
        const sldns_lookup_table* lt;
        /* TYPE */
index 25a4322ee0fc4a3d2a2b9a3d817f80272c97e36f..7bb8e510414b35c34ff63496521d56595270582e 100644 (file)
@@ -1,3 +1,7 @@
+27 February 2020: Wouter
+       - Fix #169: Fix warning for daemon/remote.c output may be truncated
+         from snprintf.
+
 26 February 2020: Wouter
        - iana portlist updated.