Bug Report no. 53

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

Marcel Gebhard

Date

16 April 1999

Platforms

All

Version

omniORB 2.7.1 and 2.7.0

Description

There is a bug in the code for marshalling an Any which contains an array or sequence of certain types of structure. An example of a such a data type is:

  //IDL

  struct foo {
    short a;
    short b;
    long  c;
    short d;
  };

  typedef sequence<foo> this_type_causes_problem;
The result is likely to be an omniORB::fatalException, since the ORB detects that the size calculated for the type and the amount of data written differ.

Patch

Apply this patch.

The patch changes:

  • src/lib/omniORB2/dynamic/tcParser.cc
  • src/lib/omniORB2/dynamic/typecode.cc
 

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