From a161fae8a04daf1127e17181890a8f91c41db750 Mon Sep 17 00:00:00 2001 From: kirk-sayre-work Date: Mon, 12 Aug 2019 16:37:32 -0500 Subject: [PATCH] Set no_xlm flag when parsing subfiles. --- oletools/olevba.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index d025945..28a758f 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -3049,6 +3049,7 @@ class VBA_Parser(object): # if OpenXML/PPT, check all the OLE subfiles: if self.ole_file is None: for ole_subfile in self.ole_subfiles: + ole_subfile.no_xlm = self.no_xlm if ole_subfile.detect_vba_macros(): self.contains_macros = True return True -- libgit2 0.21.4