From 8bd655dd17e220da14a0955c3adc712052a5f4f6 Mon Sep 17 00:00:00 2001 From: ElenaSubbotina Date: Mon, 20 Jan 2025 21:22:45 +0300 Subject: [PATCH] fix bug #72611 --- .../Common/SummaryInformation/PropertySetStream.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp b/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp index f03c893830..dca3d412ab 100644 --- a/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp +++ b/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp @@ -64,6 +64,15 @@ namespace OLEPS *stream >> NumPropertySets; + if (SystemIdentifier == NumPropertySets) + {//oops + _GUID_ Clsid2 = {}; + _UINT32 reserved1 = 0, reserved2 = 0; + + *stream >> Clsid2 >> reserved1 >> reserved2; // ??? ReportBuilder + *stream >> NumPropertySets; + } + if (NumPropertySets != 0x01 && NumPropertySets != 0x02) { NumPropertySets = 0x01;