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

Update uboot_env.c #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update uboot_env.c #12

wants to merge 1 commit into from

Conversation

xeniter
Copy link

@xeniter xeniter commented Nov 20, 2020

correct size to data payload size to avoid a read out of bounds

correct size to data payload size to avoid a read out of bounds
Copy link
Owner

@sbabic sbabic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See in README how to contribute, patches should be sent to ML. Commit title should contain the reason for the patch instead of a generic "Update uboot_env.c".
However, change does not seem correct to me. ctx->size is the size of the environment, independently from the offset inside the device, and it is not the size of the device.

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