Please report new issues athttps://github.com/DOCGroup
The CDR classes does not allow creating a stream with the right allocators. All the constructors only favor a default allocator. The ORB_Core creates/dishes out buffer and data_block allocators for input streams, but there is no way that we can use that. The answer is we need to add more constructors. But I was just wondering whether the omission is deliberate?
One of the constructors actually uses the *output* CDR allocators, the code is mine, but I cannot recall why it was done that way. It could be a mistake, big one that is. What do you want to do with this bug? Who should become responsible for it?
Maybe leave it with tao-support. Let it be a documentation detail that we can use it to track down, if something major comes up. Moreover, we may want to revisit some of the allocation semantics that we do in the ORB_Core. We can defer that to TAO 2.0, may be.
Assigned to tao-support, obviously nobody has time to work on it.