You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/08/08 16:53:33 UTC

[Bug 62608] New: Regression in VBAMacroReader in 4.0.0-dev

https://bz.apache.org/bugzilla/show_bug.cgi?id=62608

            Bug ID: 62608
           Summary: Regression in VBAMacroReader in 4.0.0-dev
           Product: POI
           Version: 4.0-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

Created attachment 36078
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36078&action=edit
example .doc file

In 3.17, we used to extract macros from some .doc and .xls files that are now
triggering:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1967)
        at
org.apache.poi.poifs.macros.VBAMacroReader.readProjectProperties(VBAMacroReader.java:596)
        at
org.apache.poi.poifs.macros.VBAMacroReader.findProjectProperties(VBAMacroReader.java:335)
        at
org.apache.poi.poifs.macros.VBAMacroReader.findProjectProperties(VBAMacroReader.java:339)
        at
org.apache.poi.poifs.macros.VBAMacroReader.readMacroModules(VBAMacroReader.java:115)
        at
org.apache.poi.poifs.macros.VBAMacroReader.readMacros(VBAMacroReader.java:133)

-- 
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


[Bug 62608] Regression in VBAMacroReader in 4.0.0-dev

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62608

Tim Allison <ta...@mitre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
         Resolution|---                         |FIXED

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
r1837664

-- 
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