CORBA 3.5b1 RTF Avatar
  1. OMG Issue

CORBA35 — Missing size information for decompress()

  • Key: CORBA35-136
  • Legacy Issue Number: 18153
  • Status: open  
  • Source: ( Duncan Grisby)
  • Summary:

    The ZIOP body format contains the original length of the compressed
    data, which is important because it allows the compressor to efficiently
    allocate a buffer to uncompress it. Unfortunately, the
    Compressor::decompress() operation is not given that size, meaning that
    it has to guess how big the uncompressed data will be.

    The original data size should be given to the decompress() operation.
    One way to do that without changing the operation signature would be to
    specify that the inout Buffer target sequence should have its length
    pre-populated to the expected size.

  • Reported: ZIOP 1.0 — Wed, 10 Oct 2012 04:00 GMT
  • Updated: Wed, 6 Dec 2023 23:39 GMT