Legacy Issue Number: 5892
Source: AT&T ( Duncan Grisby)
There is a small issue with the restriction of where a valuetype chunk can end. The spec says
"The data may be split into multiple chunks at arbitrary points except within primitive CDR types, arrays of primitive types, strings, and wstrings, or between the tag and offset of indirections. It is never necessary to end a chunk within one of these types as the length of these types is known before starting to marshal them so they can be added to the length of the currently open chunk."
However, in the case of array of wchar, the length is not known before starting to marshal, since each char (in GIOP 1.2 and 1.3) is marshalled as a (sort-of) sequence of octets. I think it should be legal to end a valuetype chunk in the middle of an array of char.
Reported: CORBA 3.0.2 — Wed, 26 Mar 2003 05:00 GMT
Updated: Wed, 1 Feb 2023 21:59 GMT
CORBA35 — restriction of where a valuetype chunk can end
- Key: CORBA35-194
- OMG Task Force: CORBA 3.5 RTF