Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f242a0e87f1d43094f697265d66cce42a387865e
      
https://github.com/tianocore/edk2/commit/f242a0e87f1d43094f697265d66cce42a387865e
  Author: Pierre Gondois <[email protected]>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c

  Log Message:
  -----------
  ShellPkg/UefiShellLevel2CommandLib: Free Buffer after use

Free the allocated Buffer after use.

Reported-by: Ramesh R <[email protected]>
Signed-off-by: Pierre Gondois <[email protected]>


  Commit: c2eb2136b41eb051847ddba68d28de8863a2babd
      
https://github.com/tianocore/edk2/commit/c2eb2136b41eb051847ddba68d28de8863a2babd
  Author: Pierre Gondois <[email protected]>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M ShellPkg/Library/UefiShellLib/UefiShellLib.c

  Log Message:
  -----------
  ShellPkg/UefiShellLib: Fix Buffer underflow

Having StrLen(Buffer) == 0 results in a Buffer underflow.
Also, StrLen iterates over the Buffer elements until finding a NULL
character. This results in a quadratic search for '\r' characters
in the while loop.

Fix these issues.

Signed-off-by: Pierre Gondois <[email protected]>


  Commit: 9d4eda962aeb74656f399672020e893853e1e5e4
      
https://github.com/tianocore/edk2/commit/9d4eda962aeb74656f399672020e893853e1e5e4
  Author: Pierre Gondois <[email protected]>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M ShellPkg/Application/Shell/Shell.c
    M ShellPkg/Application/Shell/Shell.inf
    M ShellPkg/Application/Shell/ShellProtocol.c
    M ShellPkg/ShellPkg.dec

  Log Message:
  -----------
  ShellPkg: Remove PcdShellSupportOldProtocols

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 <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/e076d2ab8ca2...9d4eda962aeb

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to