Discussion:
[omniORB] _CORBA_ObjRef_Element Self-assignment
Luke Deller
2009-10-28 11:20:39 UTC
Permalink
Hi,

Regarding the bug reported last month fixed in revision 5916, does an analogous bug exist here in include/omniORB4/CORBA_Object_vartypes.h ?

199 class Object_Element {
...
223 inline T_element& operator= (const T_element& p) {
224 if( pd_rel ) {
225 CORBA::release(pd_data);
226 T::_duplicate(p.pd_data);
227 pd_data = p.pd_data;
228 }
229 else
230 pd_data = p.pd_data;
231 return *this;
232 }

Regards,
Luke.
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************
Duncan Grisby
2009-10-29 16:44:06 UTC
Permalink
Post by Luke Deller
Regarding the bug reported last month fixed in revision 5916, does an
analogous bug exist here in include/omniORB4/CORBA_Object_vartypes.h ?
Yes, you're right. I missed that case of the issue. I've fixed it now.

Thanks,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...