Bug 61915 - Not copy mainDocument to _fibRgCswNew in FileInformationBlock's constructor
Summary: Not copy mainDocument to _fibRgCswNew in FileInformationBlock's constructor
Status: NEEDINFO
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: 3.17-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-17 05:31 UTC by Thumb2017
Modified: 2017-12-18 09:48 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?