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 parsing to be appropriate for address length #33

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

azuchi
Copy link
Contributor

@azuchi azuchi commented Apr 25, 2021

Change to strictly check for differences in data length when parsing between P2PKH, P2SH and CP2PKH, CP2SH.
Cases like CP2PKH or CP2SH with a data length of 21 will not be properly error handled and it will crash.

This fix fuzz test error.

@azuchi azuchi requested a review from Yamaguchi April 25, 2021 08:59
@Yamaguchi Yamaguchi merged commit aa3c6cc into chaintope:master Apr 27, 2021
rantan added a commit that referenced this pull request Jun 13, 2024
rantan added a commit that referenced this pull request Jun 13, 2024
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