[reSIProcate] tuple.cxx and tuple.hxx confusing/bug?

Roland Zheng rzheng at ascendentsystems.com
Tue Jul 5 16:49:31 CDT 2005


In the tuple.cxx, when call 

 

Tuple::Tuple(const Data& printableAddr, 

             int port,

             IpVersion ipVer,

             TransportType type,

             const Data& targetDomain) :

 

Only the m_anonv4 or  m_anonv6 get initialized, the mSockaddr is
invalid.

But in tuple.hxx, getSockaddr() use mSockaddr as return value.

 

This will cause problem, I think inside Tuple::Tuple(...) we should copy
m_anonv? to mSockAddr.

 

Roland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050705/ac1356b9/attachment.htm>


More information about the resiprocate-devel mailing list