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 bloaty error if zero-sized segment is at offset larger than file size #379

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

kjteske
Copy link
Contributor

@kjteske kjteske commented Jul 12, 2024

Copy link

google-cla bot commented Jul 12, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@kjteske kjteske force-pushed the zero-sized-segment-issue-378 branch from e3979ec to c6755cd Compare July 12, 2024 20:06
@kjteske
Copy link
Contributor Author

kjteske commented Jul 12, 2024

I can add a test if this fix looks good.

@kjteske
Copy link
Contributor Author

kjteske commented Aug 1, 2024

@haberman - any thoughts on this PR? I can look into adding a test if this makes sense and looks good.

…size

Add a test: copy from empty-bin-64.test, than add a program header
with an offset greater than the file size.

google#378
@haberman haberman merged commit 0c89acd into google:main Sep 22, 2024
7 of 9 checks passed
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