CORBA 2.3 NO IDEA Avatar
  1. OMG Issue

CORBA23 — POA that has IdAssignmentPolicy=SYSTEM--portability problem

  • Key: CORBA23-79
  • Legacy Issue Number: 2511
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: For a POA that has IdAssignmentPolicy=SYSTEM, there is a portability
    problem in the combination of the POA generation of an ObjectId and
    the language functions that convert between ObjectId and string.

    The C++ functions PortableServer::ObjectId_to_string (and wstring)
    state that

    If conversion of an ObjectId to a string would
    result in illegal characters in the string (such
    as a NUL), the [...] functions throw the
    CORBA::BAD_PARAM exception.

    This apparently assumes that the conversion does nothing but take the
    sequence of octet and recast it as a char*. Thus, an embedded null
    would cause the string to be interpreted as shorter than the sequence,
    so it"s an error.

  • Reported: CORBA 2.2 — Thu, 4 Mar 1999 05:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:

    Close no change in 2.4

  • Updated: Fri, 6 Mar 2015 20:58 GMT