Commit 6301c9cf233d7a5ca42e8f62f333525aa805c94c
1 parent
e680ec16
olevba: fixed slight bug in open_word2003xml, updated changelog
Showing
1 changed file
with
3 additions
and
1 deletions
oletools/olevba.py
| @@ -173,6 +173,8 @@ https://github.com/unixfreak0037/officeparser | @@ -173,6 +173,8 @@ https://github.com/unixfreak0037/officeparser | ||
| 173 | # - improved error and exception handling | 173 | # - improved error and exception handling |
| 174 | # - improved JSON output | 174 | # - improved JSON output |
| 175 | # 2016-05-12 CH: - added support for PowerPoint 97-2003 files | 175 | # 2016-05-12 CH: - added support for PowerPoint 97-2003 files |
| 176 | +# 2016-06-06 CH: - improved handling of unicode VBA module names | ||
| 177 | +# 2016-06-07 CH: - added option --relaxed, stricter parsing by default | ||
| 176 | 178 | ||
| 177 | __version__ = '0.47' | 179 | __version__ = '0.47' |
| 178 | 180 | ||
| @@ -2294,7 +2296,7 @@ class VBA_Parser(object): | @@ -2294,7 +2296,7 @@ class VBA_Parser(object): | ||
| 2294 | VBA_Parser(filename=fname, data=ole_data, | 2296 | VBA_Parser(filename=fname, data=ole_data, |
| 2295 | relaxed=self.relaxed)) | 2297 | relaxed=self.relaxed)) |
| 2296 | except OlevbaBaseException as exc: | 2298 | except OlevbaBaseException as exc: |
| 2297 | - if relaxed: | 2299 | + if self.relaxed: |
| 2298 | log.info('Error parsing subfile {}: {}' | 2300 | log.info('Error parsing subfile {}: {}' |
| 2299 | .format(fname, exc)) | 2301 | .format(fname, exc)) |
| 2300 | log.debug('Trace:', exc_info=True) | 2302 | log.debug('Trace:', exc_info=True) |