Bug Report no. 39

attlogo6876_dk.gif (2280 bytes)

sideHome.gif (2321 bytes) sideDownload.gif (2450 bytes) sideDocumentation.gif (2512 bytes) sideFAQ.gif (2344 bytes) sidePatch.gif (2543 bytes) sideSearch.gif (2403 bytes)

Reported By

Bruce Visscher

Date

27 Jan 1999

Platforms

OpenVMS VAX

Version

omniORB 2.7.0 and earlier

Description

In a number of places in the omniORB2 and omniDynamic2 libraries String_var types are initialised using copy-initialisation. On compilers which do not optimise-away the resulting temporary, this leads to an uninitialised string being duplicated.

The only compiler on which this is known to be a problem is the DEC C++ compiler for OpenVMS VAX.

Patch

Apply this patch.

The patch changes:

  • src/lib/omniORB2/orbcore/corbaString.cc
  • src/lib/omniORB2/orbcore/bootstrap_i.cc
  • src/lib/omniORB2/orbcore/corbaOrb.cc
  • src/lib/omniORB2/orbcore/objectRef.cc
  • src/lib/omniORB2/orbcore/proxyCall.cc
  • src/lib/omniORB2/dynamic/context.cc
  • src/lib/omniORB2/dynamic/request.cc
  • src/lib/omniORB2/dynamic/serverRequest.cc
 

For comments, feedback, etc, please see the 'Keeping in touch' page.
Copyright 1999 - AT&T Laboratories Cambridge