BIND 10 #3380: option6_ia_unittest.cc Called C++ object pointer is null
BIND 10 Development
do-not-reply at isc.org
Tue Apr 1 10:12:20 UTC 2014
#3380: option6_ia_unittest.cc Called C++ object pointer is null
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New
Component: Unclassified | Tasks
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DHCP | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by marcin):
I think we should use a smart pointer instead of raw pointer and check the
raw pointer for non-null value like this:
{{{
EXPECT_TRUE(addr);
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/3380#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list