Commit d0d4c87fc032bb14fa03b97cb3afd311a23bf465

Authored by kijeong kim
Committed by Philippe Lagadec
1 parent 0c3e86bf

msodde: fix detecting an utf-16le dde string.

Showing 1 changed file with 1 additions and 1 deletions
oletools/msodde.py
@@ -275,7 +275,7 @@ def process_ole_field(data): @@ -275,7 +275,7 @@ def process_ole_field(data):
275 if data.lstrip().lower().startswith(u'dde'): 275 if data.lstrip().lower().startswith(u'dde'):
276 #log.debug('--> is DDE!') 276 #log.debug('--> is DDE!')
277 return data 277 return data
278 - elif data.lstrip().lower().startswith(u'\00d\x00d\x00e\x00'): 278 + elif data.lstrip().lower().startswith(u'\x00d\x00d\x00e\x00'):
279 return data 279 return data
280 else: 280 else:
281 return u'' 281 return u''