diff --git a/olefile/olefile.py b/olefile/olefile.py index 60f8963..3e7728a 100644 --- a/olefile/olefile.py +++ b/olefile/olefile.py @@ -2288,7 +2288,7 @@ def _parse_property_basic(self, s, offset, property_id, property_type, convert_t # see https://msdn.microsoft.com/en-us/library/dd942313.aspx # "the string should NOT contain embedded or additional trailing # null characters." - count = i32(s, offset+4) + count = i32(s, offset) value = self._decode_utf16_str(s[offset+4:offset+4+count*2]) size = 4 + count * 2 elif property_type == VT_FILETIME: