[Xorp-cvs] [greearb/xorp.ct] 58e2fa: pim: Fix crash due to calling pure-virtual method...

noreply at github.com noreply at github.com
Mon Aug 16 11:59:57 PDT 2010


Branch: refs/heads/master
Home:   http://github.com/greearb/xorp.ct

Commit: 58e2faedc785d89faa61383400e388c2bd4f2159
    http://github.com/greearb/xorp.ct/commit/58e2faedc785d89faa61383400e388c2bd4f2159
Author: Ben Greear <greearb at candelatech.com>
Date:   2010-08-16 (Mon, 16 Aug 2010)

Changed paths:
  M xorp/pim/xorp_pimsm4.cc
  M xorp/pim/xorp_pimsm6.cc
  M xorp/pim/xrl_pim_node.hh

Log Message:
-----------
pim:  Fix crash due to calling pure-virtual method.

The pim-xrl-node destructors caused some recursive
actions that then called a virtual method on the
pim-xrl-node.  This is invalid and caused an abort.

Fix this by partially open-coding some of the destuctor
logic in xrl-pim-node before actually destroying the
node.

Signed-off-by: Ben Greear <greearb at candelatech.com>




More information about the Xorp-cvs mailing list