Skip to content

0.11.1: arguments after the name are divided from the load options under the Shell too - #19

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/0.11.1-load-options
Nov 16, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
fix/0.11.1-load-options

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Summary

A program the UEFI Shell starts received a shortened argument where the argument has ten or more characters and a run of three or more blanks: the Shell of edk2 9.2.4 hands "two words" over without its end in EFI_SHELL_PARAMETERS_PROTOCOL. The load options of the same image hold the command line as written.

  • The arguments after the name are divided from the load options, by the Shell's rules, where the Shell started the program too.
  • The Shell's own division remains where the load options are not text or divide into another number of arguments.
  • The name stays the Shell's (the path it resolved).
  • Started without the Shell, nothing changes.

Verification

  • examples/hello and examples/std are started by the Shell with "two words here" as a fourth argument and check it; CI greps the new line.
  • Measured locally under OVMF (edk2 9.2.4) through openkal-platform 0.29.0: [FS0:\APP.EFI] [two words] [ab cdefghij] [a b] [c]; 0.11.0 gives the second and third shortened.

@Sunrisepeak
Sunrisepeak merged commit e7edb37 into main Nov 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant