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

MdePkg/SecurityPkg: Add dev auth boot mode #463

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

Wenxing-hou
Copy link
Member

No description provided.

@Wenxing-hou Wenxing-hou marked this pull request as draft January 16, 2024 11:57
@Wenxing-hou Wenxing-hou marked this pull request as ready for review January 17, 2024 12:47
@Wenxing-hou Wenxing-hou changed the title MdeModulePkg/MdePkg/SecurityPkg: Add dev auth boot mode MdePkg/SecurityPkg: Add dev auth boot mode Jan 19, 2024
FreePool (DeviceAuthBootMode);
return FALSE;
} else {
return TRUE;

Choose a reason for hiding this comment

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

Here I think we should also call FreePool (DeviceAuthBootMode); before return TRUE;, otherwise it will memory leak.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I have fixed this code.

@jyao1 jyao1 merged commit 7b3609c into tianocore:DeviceSecurity Jan 22, 2024
1 of 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.

3 participants