Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off parsing external entities #14

Merged
merged 2 commits into from
Oct 13, 2017
Merged

Conversation

dputtick
Copy link
Contributor

Here's the smallest possible fix for #13. I've also included a sample file that causes the tests to hang before this change, but works afterwards, and added a unit test using that file.

* dos.docx works by using an external entity that connects to /dev/null,
ensuring that the xml parser hangs
@naegelejd naegelejd merged commit 2059a5b into grierforensics:master Oct 13, 2017
@naegelejd
Copy link
Contributor

This is great, thanks @dputtick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants