Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

fix: don't return an empty block at the end #22

Merged
merged 2 commits into from Mar 26, 2020

Conversation

Stebalien
Copy link
Member

And make the buzhash test fuzz for issues like this.

Copy link
Contributor

@ribasushi ribasushi left a comment

Choose a reason for hiding this comment

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

Tested against go-ipfs, all resulting pathological cases result in correctly cat-able streams. Thanks for picking this up.

Copy link
Member

@Kubuxu Kubuxu left a comment

Choose a reason for hiding this comment

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

thanks, and sorry for not finding it

@ribasushi ribasushi merged commit 0311814 into master Mar 26, 2020
@ribasushi ribasushi deleted the fix/buzhash-empty-block branch March 26, 2020 20:40
Jorropo pushed a commit to ipfs/go-libipfs-rapide that referenced this pull request Mar 23, 2023
…y-block

fix: don't return an empty block at the end

This commit was moved from ipfs/go-ipfs-chunker@0311814
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants