Skip to content

Conversation

@chifflier
Copy link
Contributor

This fixes #481 by using overflowing_add, in case the requested value would overflow when computing Needed(consumed + needed).

@chifflier chifflier changed the title Check if requested length would overflow in do_parse Check if requested length would overflow in do_parse, chain and tuple Mar 28, 2017
@Geal Geal merged commit 9dd554e into rust-bakery:master Apr 3, 2017
@Geal
Copy link
Collaborator

Geal commented Apr 3, 2017

Thanks!

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.

Panic in do_parse with take

2 participants