[Xorp-cvs] XORP cvs commit: xorp/policy
Atanu Ghosh
atanu at svn.xorp.org
Mon Jan 19 11:23:55 PST 2009
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: atanu at svn.xorp.org.(none) 2009-01-19 19:23:55 UTC
XORP CVS repository
Modified files:
policy set_map.cc
Log message:
1) Looks like Coverity doesn't detect when an exception is used to
leave a function, so add unnecessary return's to stop the warning.
2) A dynamic cast can return a NULL, the element being pointed at can be
lost, leaving no handle for delete, keep a copy of the base element
for delete.
Bugzilla URL: http://bugzilla.xorp.org/show_bug.cgi?id=993
Bug found by: Coverity
Revision Changes Path
1.18 +10 -4; commitid: tCLFJ9nF7CkzY5zt; xorp/policy/set_map.cc
More information about the Xorp-cvs
mailing list