diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-17 03:03:16 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-01-17 03:03:16 +0000 |
commit | 473ac27e76b06daff68653ff9c9d09d29b403bc2 (patch) | |
tree | d493c45dd4cad20120df243273ffb86952aaad6b /TAO | |
parent | 9e2a3645bced614f8848ddc2ea03a9bdb3197560 (diff) | |
download | ATCD-473ac27e76b06daff68653ff9c9d09d29b403bc2.tar.gz |
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp:
Modified body of _var assingment from another _var.
In the case where an uninitialized _var is assigned
to another, there is a dereference of a null pointer.
This change was needed only for structs, unions and
sequences. It was not necessary for interfaces (which
use _duplicate and CORBA::release), valuetypes (which
use add_ref and remove_ref) or arrays (which use
*_free and *_dup). The new versions have the added
benefits of propagating any exceptions that may arise
from the heap allocation or from the constructor call,
and of leaving the state of the _var unchanged if there
is any problem. Added benefits are thanks to Carlos and
thanks to Sathish Tiptur <Sathish.Tiptur@geind.ge.com>
for reporting this bug.
* tao/CONV_FRAMEC.i:
* tao/DomainC.i:
* tao/DynamicC.i:
* tao/GIOPC.i:
* tao/IIOPC.i:
* tao/IOPC.i:
* tao/MessagingC.i:
* tao/Object_KeyC.i:
* tao/OctetSeqC.i:
* tao/PolicyC.i:
* tao/RTCORBAC.i:
* tao/StringSeqC.i:
* tao/TAOC.i:
* tao/TimeBaseC.i:
* tao/DynamicAny/DynamicAnyC.i:
* tao/IORManipulation/IORC.i:
* tao/PortableServer/ImplRepoC.i:
* tao/PortableServer/PortableServerC.i:
Corresponding mods to hand-drafted files.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 0896197b312..eba2d16720e 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -40,6 +40,7 @@ Tue Jan 16 20:43:46 2001 Jeff Parsons <parsons@cs.wustl.edu> * tao/TimeBaseC.i: * tao/DynamicAny/DynamicAnyC.i: * tao/IORManipulation/IORC.i: + * tao/PortableServer/ImplRepoC.i: * tao/PortableServer/PortableServerC.i: Corresponding mods to hand-drafted files. |