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

fix(bindnode): panic early if API has been passed ptr-to-ptr #427

Merged
merged 1 commit into from
May 23, 2022

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented May 23, 2022

No description provided.

@rvagg rvagg merged commit e01280e into master May 23, 2022
@rvagg rvagg deleted the rvagg/bindnode-ptr-to-ptr-check branch May 23, 2022 23:38
masih added a commit to filecoin-project/go-data-transfer that referenced this pull request Jun 15, 2022
Bindnode wrap expects a pointer. A fail-fast check is introduced in
ipld/go-ipld-prime#427 which will cause a panic if the IPLD dependency
is upgraded to the head of main branch.

Avoid passing pointer-to-pointer when wrapping transfer message.

See:
- ipld/go-ipld-prime#427
masih added a commit to filecoin-project/go-data-transfer that referenced this pull request Jun 16, 2022
Bindnode wrap expects a pointer. A fail-fast check is introduced in
ipld/go-ipld-prime#427 which will cause a panic if the IPLD dependency
is upgraded to the head of main branch.

Avoid passing pointer-to-pointer when wrapping transfer message.

See:
- ipld/go-ipld-prime#427
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

2 participants