mirror of https://github.com/apache/poi.git
fix 52032 - HWPF - ArrayIndexOutofBoundsException with no stack trace (broken after revision 1178063)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3b1385736
commit
bf3550b406
|
@ -34,6 +34,7 @@
|
|||
|
||||
<changes>
|
||||
<release version="3.8-beta5" date="2011-??-??">
|
||||
<action dev="poi-developers" type="fix">52032 - HWPF - ArrayIndexOutofBoundsException with no stack trace (broken after revision 1178063)</action>
|
||||
<action dev="poi-developers" type="add">support for converting pptx files into images with a PPTX2PNG tool</action>
|
||||
<action dev="poi-developers" type="add">52050 - Support for the Excel RATE function</action>
|
||||
<action dev="poi-developers" type="fix">51566 - HSLF fix for finishing parsing the picture stream on the first non-valid type</action>
|
||||
|
|
|
@ -34,6 +34,7 @@ public final class ListFormatOverrideLevel
|
|||
public ListFormatOverrideLevel( byte[] buf, int offset )
|
||||
{
|
||||
_base = new LFOLVLBase( buf, offset );
|
||||
offset += LFOLVLBase.getSize();
|
||||
|
||||
if ( _base.isFFormatting() )
|
||||
{
|
||||
|
|
|
@ -719,4 +719,15 @@ public class TestBugs extends TestCase
|
|||
HWPFTestDataSamples.writeOutAndReadBack( HWPFTestDataSamples
|
||||
.openSampleFile( "Bug51834.doc" ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Bug 52032 - [BUG] & [partial-PATCH] HWPF - ArrayIndexOutofBoundsException
|
||||
* with no stack trace (broken after revision 1178063)
|
||||
*/
|
||||
public void testBug52032() throws Exception
|
||||
{
|
||||
HWPFTestDataSamples.openSampleFile( "Bug52032.doc" );
|
||||
HWPFTestDataSamples.writeOutAndReadBack( HWPFTestDataSamples
|
||||
.openSampleFile( "Bug52032.doc" ) );
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue