Bug 61915

Summary: Not copy mainDocument to _fibRgCswNew in FileInformationBlock's constructor
Product: POI Reporter: Thumb2017 <gongzuozheng163>
Component: HWPFAssignee: POI Developers List <dev>
Status: NEEDINFO ---    
Severity: normal    
Priority: P2    
Version: 3.17-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Thumb2017 2017-12-17 05:31:50 UTC
_fibRgCswNew = new byte[fibRgCswNewLength];// This is OK.
            System.arraycopy(mainDocument, offset, _fibRgCswNew, 0, fibRgCswNewLength);//This is my modification.
//            LittleEndian.getByteArray( mainDocument, offset, fibRgCswNewLength );// This is wrong line.
Comment 1 Nick Burch 2017-12-18 09:48:41 UTC
Are you able to describe a bit more about how to reproduce this bug, what the effect is etc?