Skip to content

Potential fix for issue #567#577

Open
armerj wants to merge 1 commit intodecalage2:masterfrom
armerj:master
Open

Potential fix for issue #567#577
armerj wants to merge 1 commit intodecalage2:masterfrom
armerj:master

Conversation

@armerj
Copy link
Copy Markdown

@armerj armerj commented Jun 15, 2020

Since rtf and rt can be both destination and reg control word, I
added them to the destination array and added an additional check
in _control_word() to check the char after the control word. If it
is "" or "{" then it should be treated like a reg control word, if
it is not those chars then it should be a destination control word.

This seems to work on the test files linked in issue.

Since rtf and rt can be both destination and reg control word, I
added them to the destination array and added an additional check
in _control_word() to check the char after the control word. If it
is "\" or "{" then it should be treated like a reg control word, if
it is not those chars then it should be a destination control word.
@decalage2 decalage2 self-requested a review June 15, 2020 08:37
@decalage2 decalage2 self-assigned this Jun 15, 2020
@decalage2 decalage2 added this to the oletools 0.56 milestone Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants