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

Bug preventing File and Email Message attributes being built #41

Open
chmason13 opened this issue Feb 26, 2021 · 0 comments
Open

Bug preventing File and Email Message attributes being built #41

chmason13 opened this issue Feb 26, 2021 · 0 comments

Comments

@chmason13
Copy link

The conditional in the buildAttribute function of buildMISPAttribute.py checking to see if the current object being processed is a URI, Link URI, or Link object leads to the subsequent conditionals never being processed, as it will always return true.

The bug is on line 560:
elif type_ == uri_object.URI or type_ == link_object.URI or link_object.Link:

and should be changed to:
elif type_ == uri_object.URI or type_ == link_object.URI or type_ == link_object.Link:

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

No branches or pull requests

1 participant