<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Universal/HiiDatabaseDxe, branch dependabot/github_actions/github/codeql-action-4</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-10-10T08:44:42+00:00</updated>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Avoid unexpected memory free</title>
<updated>2025-10-10T08:44:42+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2025-09-18T12:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=80eaa563ec1cd2272334134d5fd35d856843fe65'/>
<id>urn:sha1:80eaa563ec1cd2272334134d5fd35d856843fe65</id>
<content type='text'>
TempBuffer variable is only dynamically allocated when the opcode is
EFI_IFR_STRING_OP and the string value is not 0, so it should be freed
under the same condition. Otherwise, the variable may be unexpected
freed.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Avoid assert in InternalGetString</title>
<updated>2025-08-22T09:15:51+00:00</updated>
<author>
<name>Gao Qihang</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2025-07-25T02:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eb3354a49953e1ff35cfcb986e8a959c4c8f1aeb'/>
<id>urn:sha1:eb3354a49953e1ff35cfcb986e8a959c4c8f1aeb</id>
<content type='text'>
If string default is set to zero in vfr file and VfrCompile may not
found the invalid operation, assert is trigged. This patch will check
whether StringId is 0 to avoid assert.

Cc: Chao Li &lt;lichao@loongson.cn&gt;
Signed-off-by: Gao Qihang &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Remove UGA support</title>
<updated>2025-07-08T15:42:03+00:00</updated>
<author>
<name>GuoMinJ</name>
<email>newexplorerj@gmail.com</email>
</author>
<published>2025-06-16T08:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0fe2520aad17d6c9a228b343dd8e0e3126484ce7'/>
<id>urn:sha1:0fe2520aad17d6c9a228b343dd8e0e3126484ce7</id>
<content type='text'>
The Universal Graphics Adapter (UGA) is a graphic abstraction.
The UGA I/O and Draw protocols are deprecated since UEFI 2.0 was
introduced. Cf. the UEFI spec v2.9:
"Appendix L - EFI 1.10 Protocol Changes and Deprecation List"
section L.2 "Deprecated Protocols"

Remove the UGA support.

Signed-off-by: GuoMinJ &lt;newexplorerj@gmail.com&gt;
Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Fix NULL Pointer access from EfiVarStore</title>
<updated>2025-06-09T06:38:29+00:00</updated>
<author>
<name>DeepakX Singh</name>
<email>deepakx.singh@intel.com</email>
</author>
<published>2025-06-04T07:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c87ea4751991ecb107d72437f45b70e25734c927'/>
<id>urn:sha1:c87ea4751991ecb107d72437f45b70e25734c927</id>
<content type='text'>
Issue : When user access "Boot Maintenance Manager Menu/Secure Boot
 Configuration Menu" with PcdNullPointerDetectionPropertyMask|0x03 and
 PcdHeapGuardPageType|0x7FFF protection policy set,
 we get X64 Exception Type - 0E(#PF - Page-Fault)

Root cause : When user access "Boot Maintenance Manager Menu/Secure Boot
 Configuration Menu", BIOS calls FindQuestionDefaultSetting function and
 send EFI VarStore header pointer to AuthFindVariableData function.
 When header pointer is NULL, it send NULL pointer to AuthFindVariableData
 function and causes the page fault.

Fix : Database.c: In function FindQuestionDefaultSetting, added
 NULL pointers check, so that when EFI VarStore header argument is passed
 to AuthFindVariableData function, NULL pointer access will not happen.

Test: Cross verified while accessing the "Boot Maintenance Manager Menu/
 Secure Boot Configuration Menu" page.

Signed-off-by: DeepakX Singh &lt;deepakx.singh@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Fix BlockSize length</title>
<updated>2025-05-16T01:04:53+00:00</updated>
<author>
<name>Maximilian Brune</name>
<email>maximilian.brune@9elements.com</email>
</author>
<published>2024-05-16T13:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d'/>
<id>urn:sha1:5ea30a061cdfb6b0ed08369fd7c72ed1f43cfe2d</id>
<content type='text'>
The BlockSize calculation was missing the 0 terminator which caused the
string block to shrink by 1 every time the string was processed.
Therefore causing memory corruptions, because the string took more
memory space as was allocated for the string block therefore corrupting
the memory pool at the end (which caused an ASSERT upon trying to free
it).

Signed-off-by: Maximilian Brune &lt;maximilian.brune@9elements.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Prevent linker error</title>
<updated>2025-02-28T16:14:37+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2022-05-12T20:08:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=29f02d0161bc5d10a6e3b2cfc4d10799644964a5'/>
<id>urn:sha1:29f02d0161bc5d10a6e3b2cfc4d10799644964a5</id>
<content type='text'>
Prevent an issue where `memcpy()` instrinsic is being used after
recent MSVC linker update in windows-2022 VM image from 14.31.31103
to 14.32.31326.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Remove buffer error for string default.</title>
<updated>2025-02-21T00:50:36+00:00</updated>
<author>
<name>Longhaox Lee</name>
<email>longhaox.lee@intel.com</email>
</author>
<published>2025-02-14T08:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fbe0805b2091393406952e84724188f8c1941837'/>
<id>urn:sha1:fbe0805b2091393406952e84724188f8c1941837</id>
<content type='text'>
Remove efivarstore IFR buffer error when string load default.
In the case of varstore type IFR, it will be NULL,
just break into next opcode process.

Resolve issue from commit cbe8a09dbac5c39d24ce5c4b9e7d44607f6c23da
varstore type IFR string might return status error
while execute ExtractConfig function.

Signed-off-by: Longhao Lee &lt;longhaox.lee@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabaseDxe: Add string question load default support.</title>
<updated>2025-01-14T10:00:29+00:00</updated>
<author>
<name>Longhaox Lee</name>
<email>longhaox.lee@intel.com</email>
</author>
<published>2024-12-26T03:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=cbe8a09dbac5c39d24ce5c4b9e7d44607f6c23da'/>
<id>urn:sha1:cbe8a09dbac5c39d24ce5c4b9e7d44607f6c23da</id>
<content type='text'>
Add string question load default support.
load default data from PCD PcdNvStoreDefaultValueBuffer.

Signed-off-by: Longhao Lee &lt;longhaox.lee@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/HiiDatabase: Return default value for BIT VarStore as UNIT32</title>
<updated>2024-12-02T13:38:48+00:00</updated>
<author>
<name>Dandan Bi</name>
<email>dandan.bi@intel.com</email>
</author>
<published>2024-11-19T08:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9112fb0ecc6db221268cb54eec76f07149756c91'/>
<id>urn:sha1:9112fb0ecc6db221268cb54eec76f07149756c91</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4874

Question CheckBox, OneOf and Numeric can refer to Bit EFI VarStore.
CheckBox: data type is Boolean (1 byte),
Numeric/Oneof: data type is always UNIT32 for BIT VarStore,
When get default value for BIT VarStore, should return default value
with sizeof (UINT32) rather than the byte the bit width occupied.
Or incorrect default value will be used due to the size mismatch.

Signed-off-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Adding support for authenticated variable</title>
<updated>2024-10-30T03:36:56+00:00</updated>
<author>
<name>nikhil p sheshagiri</name>
<email>nikhil.p.sheshagiri@intel.com</email>
</author>
<published>2024-10-24T15:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=acce74762b45f26adb461ef46de4bf8e2d722e94'/>
<id>urn:sha1:acce74762b45f26adb461ef46de4bf8e2d722e94</id>
<content type='text'>
storage data format

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4857

NVS needs to support both authenticated and non-authenticated
header for NV region. PcdNvStoreDefaultValueBuffer can have
variables with data format of the type Authenticated variable storage
and this change provides the support to differentiate between
the normal variable storage and authenticated variable storage
for the hii database to consume and update the setup variables
accordingly

Signed-off-by: nikhil p sheshagiri &lt;nikhil.p.sheshagiri@intel.com&gt;
</content>
</entry>
</feed>
