Issue 18153: Missing size information for decompress() (corba-rtf) Source: (, ) Nature: Revision Severity: Significant 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. Resolution: Revised Text: Actions taken: October 10, 2012: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 10 Oct 2012 06:34:15 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Duncan Grisby Employer: mailFrom: duncan@grisby.org Terms_Agreement: I agree Specification: ZIOP Section: 7.3.1.3 FormalNumber: formal/2010-02-05 Version: 1.0 Doc_Year: 2010 Doc_Month: February Doc_Day: 01 Page: 5 Title: Missing size information for decompress() Nature: Revision Severity: Significant CODE: 3TMw8 B1: Report Issue Description: 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.