BIND 10 bind10-20111128-release, updated. 42ebece4f60aa28ef865d0fe1431738dc58005cb [bind10-20111128-release][master] fix changelog entry hash

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 28 13:29:17 UTC 2011


The branch, bind10-20111128-release has been updated
       via  42ebece4f60aa28ef865d0fe1431738dc58005cb (commit)
       via  358253a85ce9126f084b7b2b75c45e744a2dd6d2 (commit)
       via  b920e3707c4b32175795ae473bffe08f6e9bd4c0 (commit)
      from  8ff10fcbc66f3dc4d9173351f0d626026d8e8007 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 42ebece4f60aa28ef865d0fe1431738dc58005cb
Author: Jeremy C. Reed <jreed at ISC.org>
Date:   Mon Nov 28 07:27:26 2011 -0600

    [bind10-20111128-release][master] fix changelog entry hash
    
    Put correct git revision hash.
    
    Remove review comment.
    
    Remove no trac number comment.
    
    Rejustify another entry while here.

commit 358253a85ce9126f084b7b2b75c45e744a2dd6d2
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Nov 28 14:14:18 2011 +0100

    [bind10-20111128-release][master] update changelog

commit b920e3707c4b32175795ae473bffe08f6e9bd4c0
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Nov 24 08:00:44 2011 -0800

    [bind10-20111128-release][master] check if the config session is up when checking for queued msgs
    
    this should fix the systest problem; it seems to trigger a race condition in initialization. If the config session isn't up yet, there will certainly not be any queued messages yet, so simply skipping that should be ok.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |   10 ++++++++--
 src/bin/auth/auth_srv.cc |    5 +++--
 2 files changed, 11 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index 9ba4a17..605e90a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,14 @@
 bind10-devel-20111128 released on November 28, 2011
 
+330.	[bug]		jelte
+	Fixed a bug in b10-auth where it would sometimes fail because it
+	tried to check for queued msgq messages before the session was
+	fully running.
+	(git c35d0dde3e835fc5f0a78fcfcc8b76c74bc727ca)
+
 329.	[doc]		vorner, jreed
-	Document the bind10 run control configuration in
-	guide and manual page.
+	Document the bind10 run control configuration in guide and
+	manual page.
 	(Trac #1341, git c1171699a2b501321ab54207ad26e5da2b092d63)
 
 328.	[func]		jelte
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index c268478..caf69b9 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -219,8 +219,9 @@ class ConfigChecker : public SimpleCallback {
 public:
     ConfigChecker(AuthSrv* srv) : server_(srv) {}
     virtual void operator()(const IOMessage&) const {
-        if (server_->getConfigSession()->hasQueuedMsgs()) {
-            server_->getConfigSession()->checkCommand();
+        ModuleCCSession* cfg_session = server_->getConfigSession();
+        if (cfg_session != NULL && cfg_session->hasQueuedMsgs()) {
+            cfg_session->checkCommand();
         }
     }
 private:




More information about the bind10-changes mailing list