audk/ShellPkg/Library
Tormod Volden 54469a6918 ShellPkg: Fix Optional Data rewriting with bcfg
When modifying the Optional Data of a boot option with bcfg boot -opt
the result was corrupted data, for instance a concatenation of old data,
heap contents, and new data. This was due to a erronous calculation of
the original optional data length.

In addition to fixing the calculation, add explaining comments and
introduce a helper variable, to not abuse other variables and confuse
readers (including the author).

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2024-10-04 21:11:41 +00:00
..
UefiHandleParsingLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellAcpiViewCommandLib ShellPkg/AcpiView: RASF Parser 2024-10-04 17:48:11 +00:00
UefiShellBcfgCommandLib ShellPkg: Fix Optional Data rewriting with bcfg 2024-10-04 21:11:41 +00:00
UefiShellCEntryLib ShellPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UefiShellCommandLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellDebug1CommandsLib ShellPkg/SmbiosView: Add new Socket Type for SMBIOS Type4 2024-09-03 14:19:55 +00:00
UefiShellDriver1CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellInstall1CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLevel1CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLevel2CommandsLib ShellPkg: ShellLevel2StripQuotes: Strip consecutive quotes 2024-10-04 19:34:05 +00:00
UefiShellLevel3CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellNetwork1CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellNetwork2CommandsLib ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00