poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1857708 - in /poi: site/src/documentation/content/xdocs/changes.xml trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java
Date Wed, 17 Apr 2019 20:18:29 GMT
Author: kiwiwings
Date: Wed Apr 17 20:18:29 2019
New Revision: 1857708

URL: http://svn.apache.org/viewvc?rev=1857708&view=rev
Log:
#github-143 - MAPIType.isFixedLength: not true in case of length > 8

Modified:
    poi/site/src/documentation/content/xdocs/changes.xml
    poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java

Modified: poi/site/src/documentation/content/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/changes.xml?rev=1857708&r1=1857707&r2=1857708&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/changes.xml (original)
+++ poi/site/src/documentation/content/xdocs/changes.xml Wed Apr 17 20:18:29 2019
@@ -89,6 +89,7 @@
     <release version="4.1.1" date="2019-07-??">
       <actions>
         <action dev="PD" type="fix" fixes-bug="54803" context="OPC">Error opening XLSX
after saving with a Drawing using POI</action>
+        <action dev="PD" type="add" fixes-bug="github-143" context="HPSF">MAPIType.isFixedLength:
not true in case of length > 8</action>
       </actions>
     </release>
 

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java?rev=1857708&r1=1857707&r2=1857708&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java Wed Apr 17 20:18:29
2019
@@ -119,7 +119,7 @@ public final class Types {
          * Is this type a fixed-length type, or a variable-length one?
          */
         public boolean isFixedLength() {
-            return (length != -1);
+            return (length != -1) && (length <= 8);
         }
 
         public int getId() {



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


Mime
View raw message