<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Library, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-25T12:42:52+00:00</updated>
<entry>
<title>MdeModulePkg/UefiHiiLib: Fix memory leaks in ValidateQuestionFromVfr</title>
<updated>2026-09-25T12:42:52+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-09-18T08:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0bdafe9fb28ffd54dbc1fe74659a491e57ebeadb'/>
<id>urn:sha1:0bdafe9fb28ffd54dbc1fe74659a491e57ebeadb</id>
<content type='text'>
QuestionName is allocated by HiiGetString() but is not released in
several code path. This causes memory leaks whenever these paths are
taken.

Add FreePool (QuestionName) after it is no longer needed.

No functional change intended.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Add EFIAPI to GptLib functions</title>
<updated>2026-09-18T17:02:19+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-09-17T15:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e2e66ae1d346380c191bb2b4d4badcbefdb22715'/>
<id>urn:sha1:e2e66ae1d346380c191bb2b4d4badcbefdb22715</id>
<content type='text'>
EFIAPI is required on library interface functions to ensure that the
correct calling convention is used.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Update UI strings to indicate case-insensitive key options</title>
<updated>2026-09-15T03:00:02+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-09-09T03:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3492be2fa5067ec005becb20887fc681475b2ad7'/>
<id>urn:sha1:3492be2fa5067ec005becb20887fc681475b2ad7</id>
<content type='text'>
Update the prompt strings for save/exit and confirm actions to show both
uppercase and lowercase key options (e.g., 'Y(y)' and 'N(n)') to make it
clear that the system accepts either case. This improves user experience
by avoiding confusion about case sensitivity.

Affected strings:
- ARE_YOU_SURE (CustomizedDisplayLib)
- CONFIRM_OPTION (DisplayEngineDxe)
- RECONNECT_CHANGES_OPTIONS (DisplayEngineDxe)

French translations are updated accordingly.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Report EFI_SW_DXE_BS_PC_BOOT_OPTION_COMPLETE</title>
<updated>2026-09-07T07:37:40+00:00</updated>
<author>
<name>Sachin Ganesh</name>
<email>sachinganesh@ami.com</email>
</author>
<published>2026-08-07T19:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=11acd945a41153aa9d6027b42aff693f68abeb4e'/>
<id>urn:sha1:11acd945a41153aa9d6027b42aff693f68abeb4e</id>
<content type='text'>
Previously EfiBootManagerBoot reported
EFI_SW_DXE_BS_EC_BOOT_OPTION_FAILED when a boot option returned an
error, but reported nothing on success. Report the PI 1.10 status
code EFI_SW_DXE_BS_PC_BOOT_OPTION_COMPLETE when a boot option loads,
executes, and returns success, so status code listeners can tell that
a boot option was attempted and that control returned to firmware.

Signed-off-by: Sachin Ganesh &lt;sachinganesh@ami.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/ImagePropertiesRecordLib: Fix incorrect use of sizeof</title>
<updated>2026-08-28T04:43:10+00:00</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2026-07-23T23:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=81118e5e355b9c6ff779b1d45a88cb10bb5b8d68'/>
<id>urn:sha1:81118e5e355b9c6ff779b1d45a88cb10bb5b8d68</id>
<content type='text'>
In GetFilename(), the post-loop fallback termination used
sizeof (EfiFileName), which is the size of the CHAR8 * pointer
parameter (8 bytes on X64), not the buffer size. Use EfiFileNameSize -
4 to match the bound of the copy loop above so the string is
terminated at the true end of the buffer.

Tested on OvmfPkgIa32X64, DEBUG, GCC: DumpImageRecords() prints all
runtime image names correctly and NUL-terminated, with no ASSERTs.

Signed-off-by: Mingjie Shen &lt;shen497@purdue.edu&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/BootMaintenanceManagerUiLib: Change numeric step to 1</title>
<updated>2026-08-28T03:22:53+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-08-07T08:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ca9df041b18262d25981c3262aeba056a7a7e5ff'/>
<id>urn:sha1:ca9df041b18262d25981c3262aeba056a7a7e5ff</id>
<content type='text'>
Set the numeric step to 1 to allow +/- key adjustment.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/UefiBootManagerLib: Add constructor to INF file</title>
<updated>2026-08-26T22:17:56+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-08-17T19:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fb2ac429deebba5d04dcb38940eaa5266aec1de8'/>
<id>urn:sha1:fb2ac429deebba5d04dcb38940eaa5266aec1de8</id>
<content type='text'>
UefiBootManagerLibConstructor() is a constructor function in BmBoot.c
that is missing as the constructor in the INF file.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/UefiHiiLib: Fix regression from 12828</title>
<updated>2026-08-11T01:22:08+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-08-10T19:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=816b35fe52388564498c5885ced765ea2d5394a5'/>
<id>urn:sha1:816b35fe52388564498c5885ced765ea2d5394a5</id>
<content type='text'>
12828 introduced an ASSERT in HiiGetBrowserData() that fires when
InternalHiiBrowserCallback() returns NULL. This is a valid return
value indicating the browser has no data for the requested variable,
and callers already handle this by checking the FALSE return value.

The ASSERT is incorrect because it triggers on a non-error path,
causing a crash when the browser callback legitimately returns no data.
Remove the unnecessary ASSERT while keeping the existing FALSE return
so callers continue to handle this case gracefully.

Cc: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix unchecked return status</title>
<updated>2026-08-05T11:34:09+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2025-10-23T21:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d1c5d47014b10ab9d59c785410dbb8b3f990bc98'/>
<id>urn:sha1:d1c5d47014b10ab9d59c785410dbb8b3f990bc98</id>
<content type='text'>
https://github.com/github/codeql/blob/codeql-cli-2.7.3/csharp/ql/src/API%20Abuse/UncheckedReturnValue.qhelp

When a function has a return status, it should
be checked to verify the function completed successfully.

Failing to check the return status can result in null pointer
dereferences or use of uninitialized variables.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix missing NULL tests</title>
<updated>2026-08-05T11:34:09+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2025-10-23T19:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1cc0af9d6de69b803189c3f86c1f80fe86caf8a6'/>
<id>urn:sha1:1cc0af9d6de69b803189c3f86c1f80fe86caf8a6</id>
<content type='text'>
https://github.com/github/codeql/blob/codeql-cli-2.7.3/cpp/ql/src/Critical/MissingNullTest.qhelp

For items which allocate memory, or get a pointer from another
structure, it is important to validate that the pointers
are not null before they are dereferenced.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
</feed>
