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

Asserts trigger on zero-length access #106

Closed
alexandruag opened this issue Aug 3, 2020 · 1 comment
Closed

Asserts trigger on zero-length access #106

alexandruag opened this issue Aug 3, 2020 · 1 comment
Assignees

Comments

@alexandruag
Copy link
Collaborator

Some asserts (such as assert!(offset < count); in read_from and write_to) get triggered when the respective methods are called with count == 0. It's an edge case, but still valid and we should not treat this as an exceptional situation.

@alexandruag
Copy link
Collaborator Author

PRs have been merged and releases v0.1.2 and v0.2.2 have been published.

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