From e1757dd5d1c7387428c54de62e574c29672d1358 Mon Sep 17 00:00:00 2001 From: ElenaSubbotina Date: Sun, 26 Jan 2025 12:10:44 +0300 Subject: [PATCH] fix bug #72796 --- MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp b/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp index dca3d412ab..7c79b4e6b8 100644 --- a/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp +++ b/MsBinaryFile/Common/SummaryInformation/PropertySetStream.cpp @@ -91,7 +91,7 @@ namespace OLEPS property_sets_offsets.push_back(Offset); } - for (_UINT32 i = 0; i < NumPropertySets; ++i) + for (_UINT32 i = 0; i < property_sets_offsets.size(); ++i) { PropertySetPtr set = PropertySetPtr(new PropertySet(stream, property_sets_offsets[i], ext));