<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/ShellPkg/Application/Shell/ShellProtocol.c, branch edk2_master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=edk2_master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=edk2_master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-10-01T08:02:57+00:00</updated>
<entry>
<title>ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias</title>
<updated>2025-10-01T08:02:57+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2025-09-18T12:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c4a8b001f34c19cd411566cb4cd672eb1fac5478'/>
<id>urn:sha1:c4a8b001f34c19cd411566cb4cd672eb1fac5478</id>
<content type='text'>
Make use the newly introduced ShellPrintHiiDefaultEx() alias and
replace wherever it is possible:
- "ShellPrintHiiEx (-1, -1, NULL,"
with:
- "ShellPrintHiiDefaultEx ("

No functional change is introduced.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Fixed Deadcode and Null field Coverity warnings.</title>
<updated>2025-07-24T07:57:29+00:00</updated>
<author>
<name>Revathy V</name>
<email>revathyv@ami.com</email>
</author>
<published>2025-07-15T09:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=be6342d64fa0e13e7792f4dc4a6dfb45bab9cf9b'/>
<id>urn:sha1:be6342d64fa0e13e7792f4dc4a6dfb45bab9cf9b</id>
<content type='text'>
Updated fixes for all Deadcode and Null field Coverity fixes in ShellPkg

Signed-off-by: Revathy &lt;revathyv@ami.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Remove PcdShellSupportOldProtocols</title>
<updated>2025-06-13T21:11:49+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2025-06-12T13:17:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9d4eda962aeb74656f399672020e893853e1e5e4'/>
<id>urn:sha1:9d4eda962aeb74656f399672020e893853e1e5e4</id>
<content type='text'>
PcdShellSupportOldProtocols aimed to force using the following protocols:
- gEfiShellEnvironment2Guid
- gEfiShellInterfaceGuid
over the UEFI Shell 2.0 protocols:
- gEfiShellProtocolGuid

These 2 protocols seem to originate from the original EDK(1) implementation
and are now deprecated. The protocols are not implemented in EDK2.

Remove the PcdShellSupportOldProtocols which does not switch to using
the original shell protocols. Setting the PCD to TRUE prevents from
loading the UEFI Shell.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Shell: CodeQL Fixes</title>
<updated>2024-10-29T02:09:18+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2024-10-03T17:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=875202bf85d528fb7c63c4827cfe013b58f2870f'/>
<id>urn:sha1:875202bf85d528fb7c63c4827cfe013b58f2870f</id>
<content type='text'>
Includes changes across the module for the following CodeQL rules:
 - cpp/comparison-with-wider-type
 - cpp/overflow-buffer
 - cpp/redundant-null-check-param
 - cpp/uselesstest

Co-authored-by: Taylor Beebe &lt;taylor.d.beebe@gmail.com&gt;

Signed-off-by: Oliver Smith-Denny &lt;osde@linux.microsoft.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Fix conditionally uninitialized variables</title>
<updated>2023-04-03T15:29:08+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2022-11-08T20:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=11dd44dfbefab2ca0b9160bb5ebe40bc1c70f7c1'/>
<id>urn:sha1:11dd44dfbefab2ca0b9160bb5ebe40bc1c70f7c1</id>
<content type='text'>
Fixes CodeQL alerts for CWE-457:
https://cwe.mitre.org/data/definitions/457.html

Cc: Erich McMillan &lt;emcmillan@microsoft.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Co-authored-by: Erich McMillan &lt;emcmillan@microsoft.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Reviewed-by: Oliver Smith-Denny &lt;osd@smith-denny.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Shell: Do not set end device path if already end</title>
<updated>2022-12-13T21:12:47+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2022-12-09T15:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=592bf33a29360e8a447ed8b75daefe94c0888642'/>
<id>urn:sha1:592bf33a29360e8a447ed8b75daefe94c0888642</id>
<content type='text'>
Update Shell Protocol EfiShellGetMapFromDevicePath() to not
set the end if the device path if it is already an end of
entire device path.  This removes a write operation that can
cause failures if the Device Path Protocol is mapped to
read-only memory.  In general Device Path Protocols should not
be modified unless the API explicitly states that the device
path is modified.

Cc: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=47d20b54f9a65b08aa602a1866c1b59a69088dfc'/>
<id>urn:sha1:47d20b54f9a65b08aa602a1866c1b59a69088dfc</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the ShellPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Ray Ni &lt;ray.ni@intel.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/ShellProtocol: sort files by FullName in RemoveDupInFileList()</title>
<updated>2021-01-19T18:23:28+00:00</updated>
<author>
<name>Laszlo Ersek</name>
<email>lersek@redhat.com</email>
</author>
<published>2021-01-13T08:54:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c8ce60eb2938c7194b317480de7f3d645aecdf6e'/>
<id>urn:sha1:c8ce60eb2938c7194b317480de7f3d645aecdf6e</id>
<content type='text'>
The current implementation of EfiShellRemoveDupInFileList():
- has quadratic time complexity, as a disadvantage, and
- needs no dynamic memory, as an advantage.

Because the UEFI Shell Spec requires
EFI_SHELL_PROTOCOL.RemoveDupInFileList() to succeed at all times, keep the
current method as a fallback (it cannot fail due to needing no dynamic
memory).

However, as a higher priority option, call the new ShellSortFileList()
function at first, separating out and releasing duplicates.
(ShellSortFileList() can fail due to EFI_OUT_OF_RESOURCES.)

Beyond improving the runtime of EfiShellRemoveDupInFileList(), this change
has the extremely desirable effect that the ShellOpenFileMetaArg()
function in the ShellPkg/Library/UefiShellLib instance will produce file
lists that are sorted by FullName.

Consequently, when used with wildcards, the ATTRIB, CP, FOR, LOAD,
LOADPCIROM, LS, MV, RM, TOUCH, TYPE commands will process files in
FullName order. (LS in recursive mode uses wildcards internally.)

Before:

&gt; FS2:\&gt; dir -r -sfo apps
&gt; [...]
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\X64"
&gt; FileInfo,"FS2:\apps\AARCH64"
&gt; FileInfo,"FS2:\"
&gt; FileInfo,"FS2:\apps\IA32"
&gt; FileInfo,"FS2:\apps\X64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\X64\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\"
&gt; FileInfo,"FS2:\apps\X64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\X64\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\"
&gt; FileInfo,"FS2:\apps\AARCH64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\IA32\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\IA32\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\"
&gt; FileInfo,"FS2:\apps\IA32\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\IA32\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\"

After:

&gt; FS2:\&gt; dir -r -sfo apps
&gt; [...]
&gt; FileInfo,"FS2:\"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64"
&gt; FileInfo,"FS2:\apps\IA32"
&gt; FileInfo,"FS2:\apps\X64"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\AARCH64\"
&gt; FileInfo,"FS2:\apps\AARCH64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\AARCH64\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\IA32\"
&gt; FileInfo,"FS2:\apps\IA32\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\IA32\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\IA32\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\IA32\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\IA32\VariableInfo.efi"
&gt; FileInfo,"FS2:\apps\"
&gt; FileInfo,"FS2:\apps\X64\"
&gt; FileInfo,"FS2:\apps\X64\AcpiViewApp.efi"
&gt; FileInfo,"FS2:\apps\X64\Cpuid.efi"
&gt; FileInfo,"FS2:\apps\X64\DumpDynPcd.efi"
&gt; FileInfo,"FS2:\apps\X64\MemoryProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\SmiHandlerProfileInfo.efi"
&gt; FileInfo,"FS2:\apps\X64\VariableInfo.efi"

Regarding LS in non-SFO mode, the stability of ShellSortFileList() shows.
The ShellSortFileList() call added to LS in the previous patch re-sorts
the output of ShellOpenFileMetaArg(); and so this patch improves the
ordering between identical FileNames:

Before:

&gt; FS2:\&gt; dir -r apps
&gt; Directory of: FS2:\apps\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  AARCH64
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  IA32
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  X64
&gt;           0 File(s)           0 bytes
&gt;           5 Dir(s)
&gt; Directory of: FS2:\apps\X64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;           6 File(s)     256,192 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\AARCH64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt;           4 File(s)     233,472 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\IA32\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;           6 File(s)     224,768 bytes
&gt;           2 Dir(s)
&gt;
&gt; FS2:\&gt; dir apps\*\*.efi
&gt; Directory of: FS2:\apps\*\
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;          16 File(s)     714,432 bytes
&gt;           0 Dir(s)

After:

&gt; FS2:\&gt; dir -r apps
&gt; Directory of: FS2:\apps\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  AARCH64
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  IA32
&gt; 12/22/2020  17:53 &lt;DIR&gt;         4,096  X64
&gt;           0 File(s)           0 bytes
&gt;           5 Dir(s)
&gt; Directory of: FS2:\apps\AARCH64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt;           4 File(s)     233,472 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\IA32\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt;           6 File(s)     224,768 bytes
&gt;           2 Dir(s)
&gt; Directory of: FS2:\apps\X64\
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  .
&gt; 01/01/1970  01:00 &lt;DIR&gt; r           0  ..
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;           6 File(s)     256,192 bytes
&gt;           2 Dir(s)
&gt;
&gt; FS2:\&gt; dir apps\*\*.efi
&gt; Directory of: FS2:\apps\*\
&gt; 12/22/2020  17:53             139,264  AcpiViewApp.efi
&gt; 12/22/2020  17:53             105,536  AcpiViewApp.efi
&gt; 12/22/2020  17:53             126,656  AcpiViewApp.efi
&gt; 12/22/2020  17:53              36,096  Cpuid.efi
&gt; 12/22/2020  17:53              38,784  Cpuid.efi
&gt; 12/22/2020  17:52              32,768  DumpDynPcd.efi
&gt; 12/22/2020  17:52              17,344  DumpDynPcd.efi
&gt; 12/22/2020  17:52              18,752  DumpDynPcd.efi
&gt; 12/22/2020  17:52              40,960  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              24,192  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              26,304  MemoryProfileInfo.efi
&gt; 12/22/2020  17:52              30,720  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              34,240  SmiHandlerProfileInfo.efi
&gt; 12/22/2020  17:52              20,480  VariableInfo.efi
&gt; 12/22/2020  17:52              10,880  VariableInfo.efi
&gt; 12/22/2020  17:52              11,456  VariableInfo.efi
&gt;          16 File(s)     714,432 bytes
&gt;           0 Dir(s)

Cc: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3151
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Message-Id: &lt;20210113085453.10168-9-lersek@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Application: Fix various typos</title>
<updated>2020-02-10T22:30:07+00:00</updated>
<author>
<name>Antoine Coeur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2020-02-07T01:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6a5033ca3e8868a176a9671d55ad297bac385b1b'/>
<id>urn:sha1:6a5033ca3e8868a176a9671d55ad297bac385b1b</id>
<content type='text'>
Fix various typos in comments and documentation.

Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Antoine Coeur &lt;coeur@gmx.fr&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
Signed-off-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200207010831.9046-68-philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/ShellProtocol: Return error code while fail parsing cmd-line</title>
<updated>2019-12-19T05:11:00+00:00</updated>
<author>
<name>Zhichao Gao</name>
<email>zhichao.gao@intel.com</email>
</author>
<published>2019-11-29T08:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=95bb203861c5e19b7b7d5d9318e16d82108f2134'/>
<id>urn:sha1:95bb203861c5e19b7b7d5d9318e16d82108f2134</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2395

Errors happened in the arguments parsing is not a critical error.
And it would miss the error status code in the release version of shell.
So replace the ASSERT with returning error status code while fail
parsing command-line in UpdateArgcArgv.

Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Linson Augustine &lt;linson.augustine@intel.com&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Zhichao Gao &lt;zhichao.gao@intel.com&gt;
</content>
</entry>
</feed>
