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

Sending needs better validation #3

Open
bmerry opened this issue Jun 4, 2015 · 0 comments
Open

Sending needs better validation #3

bmerry opened this issue Jun 4, 2015 · 0 comments

Comments

@bmerry
Copy link
Contributor

bmerry commented Jun 4, 2015

There are a number of potential overflows in the sending code if the specified bad values, such as heap IDs or item IDs that don't fit in the available number of bits, heaps that are bigger than can be encoded in the available bits, and so on. These should throw exceptions.

bmerry added a commit that referenced this issue May 13, 2019
For implicit heap cnts, wrap around when overflowing. For explicitly
provided values, report an error.

Also ensure that async_send_heap doesn't call the handler before
returning.

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

No branches or pull requests

1 participant