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

Avoid heap buffer overflow #46

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

SenriYoshikawa
Copy link

I found a heap buffer overflow using clang address sanitizer.
It can fix with this code.

@tpruvot tpruvot merged commit 33b7590 into tpruvot:linux Jun 21, 2021
@tpruvot
Copy link
Owner

tpruvot commented Jun 21, 2021

this code is invalid, reverted/closed

@SenriYoshikawa
Copy link
Author

Could you please tell me what is wrong?

@tpruvot
Copy link
Owner

tpruvot commented Jun 21, 2021

sctx->job.coinbase_size is not a pointer

@SenriYoshikawa
Copy link
Author

It contained a bug. sorry!
I fixed it and made a new pull request #54 .

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