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

Detect invalid encoding size earlier #507

Merged
merged 3 commits into from
Feb 20, 2020
Merged

Detect invalid encoding size earlier #507

merged 3 commits into from
Feb 20, 2020

Conversation

hardbyte
Copy link
Collaborator

Figured I'd pay back some technical debt before embarking on my next feature.

Closes #442

Copy link
Contributor

@joyceyuu joyceyuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me. You might need to update branch before merging it

k=min(chunk_dp1_size, chunk_dp2_size))
except NotImplementedError as e:
log.warning("Encodings couldn't be compared using anonlink.")
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return nothing? Is this equivalent to return None?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure is

@hardbyte hardbyte merged commit 7a927a5 into develop Feb 20, 2020
@hardbyte hardbyte deleted the fix-442 branch February 20, 2020 01:03
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.

Detect invalid encoding sizes as early as possible
2 participants