Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 592bf33a29360e8a447ed8b75daefe94c0888642 https://github.com/tianocore/edk2/commit/592bf33a29360e8a447ed8b75daefe94c0888642 Author: Michael D Kinney <michael.d.kin...@intel.com> Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths: M ShellPkg/Application/Shell/ShellProtocol.c Log Message: ----------- ShellPkg/Shell: Do not set end device path if already end 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 <a...@kernel.org> Cc: Ray Ni <ray...@intel.com> Cc: Zhichao Gao <zhichao....@intel.com> Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Reviewed-by: Zhichao Gao <zhichao....@intel.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits