]> source.dussan.org Git - poi.git/commitdiff
#github-143 - MAPIType.isFixedLength: not true in case of length > 8
authorAndreas Beeker <kiwiwings@apache.org>
Wed, 17 Apr 2019 20:18:29 +0000 (20:18 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Wed, 17 Apr 2019 20:18:29 +0000 (20:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857708 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hsmf/datatypes/Types.java

index 19047b59e3ffd9c609c53083c75d97273e023b04..f92c97c220960fc8603fa141da823ff01c121f31 100644 (file)
@@ -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() {