From 6301c9cf233d7a5ca42e8f62f333525aa805c94c Mon Sep 17 00:00:00 2001 From: decalage2 Date: Thu, 9 Jun 2016 21:17:40 +0200 Subject: [PATCH] olevba: fixed slight bug in open_word2003xml, updated changelog --- oletools/olevba.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index 8edd525..d438a10 100755 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -173,6 +173,8 @@ https://github.com/unixfreak0037/officeparser # - improved error and exception handling # - improved JSON output # 2016-05-12 CH: - added support for PowerPoint 97-2003 files +# 2016-06-06 CH: - improved handling of unicode VBA module names +# 2016-06-07 CH: - added option --relaxed, stricter parsing by default __version__ = '0.47' @@ -2294,7 +2296,7 @@ class VBA_Parser(object): VBA_Parser(filename=fname, data=ole_data, relaxed=self.relaxed)) except OlevbaBaseException as exc: - if relaxed: + if self.relaxed: log.info('Error parsing subfile {}: {}' .format(fname, exc)) log.debug('Trace:', exc_info=True) -- libgit2 0.21.4