]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3718. [bug] A missing ISC_LINK_INIT in log.c. [RT #35260]
authorMark Andrews <marka@isc.org>
Wed, 29 Jan 2014 20:44:02 +0000 (07:44 +1100)
committerMark Andrews <marka@isc.org>
Wed, 29 Jan 2014 20:44:02 +0000 (07:44 +1100)
CHANGES
lib/isc/log.c

diff --git a/CHANGES b/CHANGES
index 59d6a0bc8e25329f85a50b7fcbdb7ff1074d59a0..cdc454756bd6909a9a2d8f67a15fded7b773caa4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3718.  [bug]           A missing ISC_LINK_INIT in log.c. [RT #35260]
+
 3717.  [port]          hpux: Treat EOPNOTSUPP as a expected error code when
                        probing to see if it is possible to set dscp values
                        on a per packet basis. [RT #35252]
index 2cf584b44a6da24668d2ad54f229a58ffaa3e9dd..986ed61352e6bb98e21dfdb842a016421b881a5c 100644 (file)
@@ -1633,6 +1633,7 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
 
                                        TIME_NOW(&new->time);
 
+                                       ISC_LINK_INIT(new, link);
                                        ISC_LIST_APPEND(lctx->messages,
                                                        new, link);
                                }