[jacorb-bugs] [Bug 950] GIOP 1.1 - Fragmented Messages

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Jul 5 00:12:10 CEST 2013


http://www.jacorb.org/bugzilla/show_bug.cgi?id=950

Sofie De Cooman <jacorb at sofiedc.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |jacorb at sofiedc.be
         Resolution|FIXED                       |---

--- Comment #9 from Sofie De Cooman <jacorb at sofiedc.be> ---
Hi all, 

We tried out the GIOP 1.1 fragmentation, but ran into org.omg.CORBA.MARSHAL /
org.omg.CORBA.BAD_PARAM exceptions.

It looks like there is no handling for the fact that in GIOP 1.1, the data in a
fragment is marshaled with alignment relative to its position in the fragment,
not relative to its position in the whole unfragmented message.

Currently in org.jacorb.orb.CDRInputStream, the alignment does seem to be done
relative to the position in the whole unfragmented message (the buffer member
seems to contain the whole unfragmented message).
As a consequence, it's possible that the wrong data is read.

The individual fragments (or at least their sizes) don't seem to be available
anymore in CDRInputStream, which makes it not so straightforward to fix?

Probably additional handling would be needed in org.jacorb.orb.CDROutputStream
as well?

Could my understanding be correct?

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20130704/d9b36c56/attachment.html>


More information about the jacorb-bugs mailing list