poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44643] New: [PATCH] RecordInputStream. readCompressedUnicode throws exception even if length is zero
Date Wed, 19 Mar 2008 22:21:28 GMT

           Summary: [PATCH] RecordInputStream.readCompressedUnicode throws
                    exception even if length is zero
           Product: POI
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: neil@JAMMConsulting.com

Created an attachment (id=21692)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21692)
Patch to add check for length equal to zero.

The method readCompressedUnicode will throw an illegal length exception even if
the passed in length is zero.

I added a check to return an empty string when the length is zero.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message