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 invalid signature with crafted length #101

Closed
wants to merge 3 commits into from
Closed

Conversation

sigmike
Copy link
Member

@sigmike sigmike commented Nov 10, 2015

First draft to fix issue #100

@ghost
Copy link

ghost commented Nov 21, 2015

The patch has a flaw: a specifically crafted signature may cause invalid memory access because existence of nExtraBytes ain't checked.

@sigmike
Copy link
Member Author

sigmike commented Nov 21, 2015

Indeed. I pushed a fix. Do you agree it solves the problem?

@ghost
Copy link

ghost commented Nov 21, 2015 via email

@sandakersmann
Copy link
Contributor

I think this pull can be closed.

@hrobeers hrobeers closed this Oct 24, 2017
@peerchemist peerchemist deleted the der_length_fix branch October 27, 2021 14:26
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.

None yet

3 participants