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: flatbuffers offset overflow #89

Merged
merged 3 commits into from
Apr 9, 2019

Conversation

doitian
Copy link
Member

@doitian doitian commented Apr 1, 2019

Fix overflow panic when following the offset in malformed flatbuffers.

Refs nervosnetwork/cfb#15

@driftluo
Copy link
Collaborator

driftluo commented Apr 1, 2019

p2p can't depend directly on Github, we need to publish to crate, may need to write flatbuffers-verifier locally

@doitian doitian force-pushed the flatbuffers_offset_overflow branch from fd1ee80 to 78f0784 Compare April 2, 2019 07:18
doitian added 2 commits April 8, 2019 15:53
Fix overflow panic when following the offset in malformed flatbuffers.

Refs nervosnetwork/cfb#15
Use `make gen-fb` to generate files, and `make clean-fb gen-fb` to regenerate
all files.
@doitian doitian force-pushed the flatbuffers_offset_overflow branch from 78f0784 to 2e5d56a Compare April 8, 2019 07:53
@doitian doitian force-pushed the flatbuffers_offset_overflow branch from 646e5ec to 2712126 Compare April 8, 2019 14:51
@driftluo driftluo merged commit 1b0b07b into nervosnetwork:master Apr 9, 2019
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.

2 participants