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

mok: fix potential buffer overrun in import_mok_state #365

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

jyong2
Copy link
Contributor

@jyong2 jyong2 commented Apr 19, 2021

Fix the case where data_size is 0, so config_template is
not implicitly copied like the size calculation above.

upstream-status: #249

Signed-off-by: Jonathan Yong jonathan.yong@intel.com

Fix the case where data_size is 0, so config_template is
not implicitly copied like the size calculation above.

upstream-status: rhboot#249

Signed-off-by: Jonathan Yong <jonathan.yong@intel.com>
@pcmoore
Copy link
Contributor

pcmoore commented Jun 14, 2021

Thanks @jyong2, this fixed a problem I was seeing with my QEMU+OVMF dev/test VM.

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.

3 participants