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

kbootd: fix overflow when reading gpt header #13

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

massonju
Copy link
Collaborator

@massonju massonju commented Oct 5, 2023

When we read GPT header on LBA 1 we must use data allocated with a size of LBA_SIZE.

Otherwise we may have an overflow.

When we read GPT header on LBA 1 we must use data allocated with a
size of LBA_SIZE.
Otherwise we may have an overflow.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Signed-off-by: Julien Masson <jmasson@baylibre.com>
@massonju massonju merged commit 653b168 into BayLibre:main Oct 5, 2023
2 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.

1 participant