-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Partition()
w/ size
greater than the length of the input
`complete()` only worked correctly if at least a single full partition has been produced already, otherwise the `buf` would be smaller than the `xform(rf).size`, and we get buffer overflow, etc. I've added sufficient test coverage for the issue, that now passes. I have stumbled into this while trying to write a reduction tree, not sure if this is something that might be interesting here? Fixes #528
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters