Commit 40718f9d9c705cd732e5bd5516ec49b2775b35d9

Authored by decalage2
1 parent a58a45a3

rtfobj: fixed issue #196, \pxe is not a destination

Showing 1 changed file with 5 additions and 3 deletions
oletools/rtfobj.py
... ... @@ -76,8 +76,9 @@ http://www.decalage.info/python/oletools
76 76 # 2017-07-14 v0.51.1 PL: - disabled logging of each control word (issue #184)
77 77 # 2017-07-24 PL: - fixed call to RtfParser._end_of_file (issue #185)
78 78 # - ignore optional space after \bin (issue #185)
  79 +# 2017-09-06 PL: - fixed issue #196: \pxe is not a destination
79 80  
80   -__version__ = '0.51.1dev3'
  81 +__version__ = '0.51.1dev4'
81 82  
82 83 # ------------------------------------------------------------------------------
83 84 # TODO:
... ... @@ -285,8 +286,9 @@ DESTINATION_CONTROL_WORDS = frozenset((
285 286 b"oleclsid", b"operator", b"panose", b"password", b"passwordhash", b"pgp", b"pgptbl", b"picprop", b"pict", b"pn", b"pnseclvl",
286 287 b"pntext", b"pntxta", b"pntxtb", b"printim",
287 288 # It seems \private should not be treated as a destination (issue #178)
288   - # b"private",
289   - b"propname", b"protend", b"protstart", b"protusertbl", b"pxe",
  289 + # Same for \pxe (issue #196)
  290 + # b"private", b"pxe",
  291 + b"propname", b"protend", b"protstart", b"protusertbl",
290 292 b"result", b"revtbl", b"revtim", b"rsidtbl", b"rtf", b"rxe", b"shp", b"shpgrp", b"shpinst", b"shppict", b"shprslt", b"shptxt",
291 293 b"sn", b"sp", b"staticval", b"stylesheet", b"subject", b"sv", b"svb", b"tc", b"template", b"themedata", b"title", b"txe", b"ud",
292 294 b"upr", b"userprops", b"wgrffmtfilter", b"windowcaption", b"writereservation", b"writereservhash", b"xe", b"xform",
... ...