mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
.
This commit is contained in:
@ -88,9 +88,9 @@ namespace DocFileFormat
|
||||
int indexCpNext = (i+1) * 4;
|
||||
int cpNext = FormatUtils::BytesToInt32(piecetable, indexCpNext, lcb);
|
||||
|
||||
if (cpNext > streamSize)
|
||||
if (cpNext > fib->m_FibBase.fcMac)
|
||||
{
|
||||
cpNext = streamSize;
|
||||
cpNext = fib->m_FibBase.fcMac;
|
||||
}
|
||||
|
||||
//read the PCD
|
||||
|
||||
Reference in New Issue
Block a user