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 2010/07/09 23:55:46 UTC
DO NOT REPLY [Bug 49579] New: UnknowEscherRecord throws
ArrayIndexOutOfBoundException
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
Summary: UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Product: POI
Version: 3.7-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSLF
AssignedTo: dev@poi.apache.org
ReportedBy: zhangzzh@gmail.com
For some PPT files, UnknowEscherRecord throws ArrayIndexOutOfBoundException at
line 62 at a System.arraycopy.
The bytesRemaining variable became really big for some files, so I guess it
need a check to compare the bytesRemaining with the avaliabe bytes in data
array.
--
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
DO NOT REPLY [Bug 49579] UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
Zhang Zhang <zh...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25740|0 |1
is obsolete| |
--- Comment #4 from Zhang Zhang <zh...@gmail.com> 2010-07-16 18:08:44 EDT ---
Created an attachment (id=25776)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25776)
Patch for UnknowEscherRecord with Unit test case
Fix for the issue in UnknowEscherRecord with unit test cases.
--
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
DO NOT REPLY [Bug 49579] UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
--- Comment #1 from Zhang Zhang <zh...@gmail.com> 2010-07-09 17:57:15 EDT ---
Created an attachment (id=25738)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25738)
File that has this exception
This file has the ArrayOutOfBoundExceptioin, but it can be open by Office 2007
without problem.
--
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
DO NOT REPLY [Bug 49579] [PATCH]UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
Zhang Zhang <zh...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|UnknowEscherRecord throws |[PATCH]UnknowEscherRecord
|ArrayIndexOutOfBoundExcepti |throws
|on |ArrayIndexOutOfBoundExcepti
| |on
--
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
DO NOT REPLY [Bug 49579] [PATCH]UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Yegor Kozlov <ye...@dinom.ru> 2010-07-27 11:26:06 EDT ---
Applied in r979747
Regards,
Yegor
--
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
DO NOT REPLY [Bug 49579] UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
--- Comment #2 from Zhang Zhang <zh...@gmail.com> 2010-07-09 17:58:15 EDT ---
Created an attachment (id=25739)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25739)
Test code
Test Java code to create a HSLFSlideShow instance and got the exception
--
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
DO NOT REPLY [Bug 49579] UnknowEscherRecord throws
ArrayIndexOutOfBoundException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49579
--- Comment #3 from Zhang Zhang <zh...@gmail.com> 2010-07-09 18:14:20 EDT ---
Created an attachment (id=25740)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25740)
Suggested patch
Attached a suggest patch, if ok, I will open a new bug for check in.
--
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