Skip to content

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