<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/ShellPkg/Library/UefiShellDebug1CommandsLib, branch dependabot/github_actions/github/codeql-action-4.39.1</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1'/>
<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>ShellPkg/UefiShellDebug1CommandsLib: Fix memory leaks in help display</title>
<updated>2026-09-25T12:42:52+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-09-18T07:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ecee358dea7be4ba4730067e45951938d10ae723'/>
<id>urn:sha1:ecee358dea7be4ba4730067e45951938d10ae723</id>
<content type='text'>
HiiGetString() returns a dynamically allocated string that must be
released with FreePool(). In MainCommandDisplayHelp() and
HMainCommandDisplayHelp(), the returned InfoString is printed but
never freed, leaking memory each time the help screen is displayed.

Release InfoString after ShellPrintEx() in both functions.

No functional change intended.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>ShellPkg/SmbiosView: Add MemoryTypeLpDdr6 to QueryTable</title>
<updated>2026-09-18T14:58:53+00:00</updated>
<author>
<name>Ashraf Ali S</name>
<email>ashraf.ali.s@intel.com</email>
</author>
<published>2026-07-09T08:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eecc2039aac3b31ad41c23ecb84fc3d5a85e885f'/>
<id>urn:sha1:eecc2039aac3b31ad41c23ecb84fc3d5a85e885f</id>
<content type='text'>
Signed-off-by: Ashraf Ali S &lt;ashraf.ali.s@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/EfiDecompress: Fix Codeql issues</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-27T14:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fa41c179db1f9fc21eb425f44b85a16262c806ca'/>
<id>urn:sha1:fa41c179db1f9fc21eb425f44b85a16262c806ca</id>
<content type='text'>
Fix codeql reported issues by flattening MainCmdEfiDecompress(),
making it easier for the tool to evaluate potential risks.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Comp: Extract helper functions</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-26T11:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=383e680c3cf62b564783a5a26eae0b9ffd881b61'/>
<id>urn:sha1:383e680c3cf62b564783a5a26eae0b9ffd881b61</id>
<content type='text'>
Refactor the Comp command and extract 2 functions:
- OpenFileOperand()
- CompareFiles()

This allows to simplify the logic of MainCmdComp() and
fix some codeql reported potential errors.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/EfiDecompress: Check presence of decompression protocol</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-26T10:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=35a2f2754615bb3e029d3c86da09f8a32e5b14a1'/>
<id>urn:sha1:35a2f2754615bb3e029d3c86da09f8a32e5b14a1</id>
<content type='text'>
Check the return value of LocateProtocol() before
using the decompression protocol. This avoids a
potential NULL pointer derefence spotted by codeql.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Dmem: Refactor MainCmdDmem()</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-26T09:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d9185d45c21ba5f385996b9d76309e2cc24cc2af'/>
<id>urn:sha1:d9185d45c21ba5f385996b9d76309e2cc24cc2af</id>
<content type='text'>
Refactor MainCmdDmem() to make it easier to understand.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/EfiCompress: Extract OpenFileHelper() and CompressFile()</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-06T10:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f260ae0375876d2d8683d7dab54071b1d980b15b'/>
<id>urn:sha1:f260ae0375876d2d8683d7dab54071b1d980b15b</id>
<content type='text'>
Extract file opening and compression code into helpers.

Upon calling:
- gEfiShellProtocol-&gt;GetFileSize()
- gEfiShellProtocol-&gt;ReadFile()
the returned Status is now checked.

Upon calling AllocateZeroPool, the failed status is now set to
EFI_OUT_OF_RESOURCES.

Other than that, no functional change.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Pci: Extract ParsePciBdf()</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-06T10:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c089090278236fdd84404b9ec233835aa0accc96'/>
<id>urn:sha1:c089090278236fdd84404b9ec233835aa0accc96</id>
<content type='text'>
Extract BDF argument parsing into a helper.

No functional change.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Pci: Extract PciEnumerateAll()</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-05-06T09:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ba2f2169863df9a5012eb2882cfe2822a49955e4'/>
<id>urn:sha1:ba2f2169863df9a5012eb2882cfe2822a49955e4</id>
<content type='text'>
Extract the default PCI enumeration path into a helper.

No functional change.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/UefiShellDebug1: Lower indentation level in MainCmdXXX() (4/4)</title>
<updated>2026-08-04T07:35:35+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-06-04T09:21:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=42f1d004c070e60d05281f98afca56d897d395e9'/>
<id>urn:sha1:42f1d004c070e60d05281f98afca56d897d395e9</id>
<content type='text'>
This patch aims to help breaking down the long functions present in
the ShellPkg and reduce complexity/nested code and conditions.

Lower the indentation level in the newly created MainCmdXXX()
functions.

To avoid having one large commit updating all the UefiShellDebug1
commands, only update these files:
- SerMode.c
- SetSize.c
- SetVar.c
- SmbiosView/SmbiosView.c

No functional change should be induced by this patch.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
</feed>
