[Xorp-cvs] [greearb/xorp.ct] 2ccf14: cli: Don't return reference to pointer object. M...

noreply at github.com noreply at github.com
Tue Jun 29 12:46:43 PDT 2010


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

Commit: 2ccf149be5027d866c035c678c9bee8f198dec2c
    http://github.com/greearb/xorp.ct/commit/2ccf149be5027d866c035c678c9bee8f198dec2c
Author: Ben Greear <greearb at candelatech.com>
Date:   2010-06-29 (Tue, 29 Jun 2010)

Changed paths:
  M xorp/rtrmgr/cli.cc
  M xorp/rtrmgr/cli.hh

Log Message:
-----------
cli:  Don't return reference to pointer object.  Makes it too easy
to not realize object can be NULL.

Add check to work around one xorpsh crash.  Likely there is a root
problem not yet addressed.

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




More information about the Xorp-cvs mailing list