ASF Bugzilla – Attachment 30890 Details for
Bug 55604
AIOOBE from SprmBuffer class when reading body of some .doc files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch with fix about SprmBuffer problem
fix.patch (text/plain), 752 bytes, created by
Willy Solaligue
on 2013-09-27 17:35:23 UTC
(
hide
)
Description:
Patch with fix about SprmBuffer problem
Filename:
MIME Type:
Creator:
Willy Solaligue
Created:
2013-09-27 17:35:23 UTC
Size:
752 bytes
patch
obsolete
>--- /home/willy/Downloads/poi-3.8/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java 2012-03-17 16:22:02.000000000 -0500 >+++ /media/Data/Trabajos/zAgile/workspace/poi-3.8/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java 2013-08-19 13:49:20.866878622 -0500 >@@ -125,8 +125,11 @@ > public void append( byte[] grpprl, int offset ) > { > ensureCapacity( grpprl.length - offset ); >- System.arraycopy( grpprl, offset, _buf, _offset, grpprl.length - offset ); >- _offset += grpprl.length - offset; >+ >+ try{ >+ System.arraycopy( grpprl, offset, _buf, _offset, grpprl.length - offset ); >+ _offset += grpprl.length - offset; >+ }catch (Throwable e) {} > } > public Object clone() > throws CloneNotSupportedException
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55604
:
30890