BIND 10 trac2092, updated. f57f421032d74e172f44efcd4e22d89d467a12ec [2092] Add comment about pointer dereference asked by reviewer
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Jul 29 17:47:25 UTC 2012
The branch, trac2092 has been updated
via f57f421032d74e172f44efcd4e22d89d467a12ec (commit)
from bb01feca34b77f95e67ceb105ea332774d513ddd (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 f57f421032d74e172f44efcd4e22d89d467a12ec
Author: Mukund Sivaraman <muks at isc.org>
Date: Sun Jul 29 23:16:21 2012 +0530
[2092] Add comment about pointer dereference asked by reviewer
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/rbtree.h | 2 ++
1 file changed, 2 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h
index 7818747..b8cdfc6 100644
--- a/src/lib/datasrc/rbtree.h
+++ b/src/lib/datasrc/rbtree.h
@@ -1512,6 +1512,8 @@ RBTree<T>::insertRebalance(RBNode<T>** root, RBNode<T>* node) {
RBNode<T>* uncle;
while (node != *root && node->parent_->getColor() == RBNode<T>::RED) {
+ // Here, node->parent_ is not NULL and it is also red, so
+ // node->parent_->parent_ is also not NULL.
if (node->parent_ == node->parent_->parent_->left_) {
uncle = node->parent_->parent_->right_;
More information about the bind10-changes
mailing list