-
Notifications
You must be signed in to change notification settings - Fork 163
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
elf: prevent overflow #243
Conversation
Looks like CI is failing on something unrelated to my changes :-( |
Yes looks like it's this: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ aside: i find it a bit sad that for nearly 4 years travis CI did not have a single CI involved regression with any of the github projects i had, and now, with not even 1 year into github actions, it's already breaking my code, and wasting developer time upgrading to some new api... This does not bode well. |
:-(. Should I rebase once you have applied a fix? |
I don't have the time right now to fix the issue; maybe this weekend; i can just merge without CI if you want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks for this!
If you think you know how to fix, feel free to go for it in this PR, otherwise we can just merge |
Ok i think i fixed it actually here: #244 can you rebase on top of that ? |
3adedcb
to
b0fac8e
Compare
Rebased and CI passed, woot! |
sorrrryyyyy for spamming :D and thanks for the PR ❤️ |
@m4b When do you think these changes will be released so we can pick them up? |
whoops, forgot about this, will release now! |
ok this is released in 0.3, which rolls up several things from past few months; it's a breaking change because one part of the mach-o api changed, but otherwise it should be fine |
Fuzzier found an overflow if bad section address or size.
check_size
to also check addr + sizecheck_size
is not called on a created section.