Open andrew0411 opened 11 months ago
To add, the last version of olefile (v0.46) has returned None
for all properties in the same file. I think the if-else syntax in the latest getproperties
needs to be fixed.
Hello, thanks for reporting the bug. Could you please share a sample file that triggers the issue?
Apologies for the delayed response. Please see the attachments that you requested. sample.zip
getproperties
function creates massive property_type (ex.4294967295) that derives from unpacking '\xff\xff\xff\xff'.The picture depicts s, offset, property_id, property_type, which are the inputs of
OleFileIO._parse_property()
respectively.The for-loop with 4294967295 iteraions are made in
OleFileIO._parse_property()
which occurs system and resource instability.Also, the bug in
getproperties
causes lots of function fail in the oletools as well.