The series started from the issue that LoadOptions, if providing just command line arguments should be NUL-terminated. But this carried some updates to adjust the code properly.
Changes since v3: - use proper length converting args string; - added Reviewed-by comments. Frediano Ziglio (6): loader/efi/linux: Remove useless assignment include/grub/charset.h: Update documentation loader/efi/linux: Do not pass excessive size for source string loader/efi/linux: Use proper type for "len" variable loader/efi/linux: Use sizeof instead of constant loader/efi/linux: Correctly terminate LoadOptions field grub-core/loader/efi/linux.c | 15 +++++++++------ include/grub/charset.h | 3 ++- 2 files changed, 11 insertions(+), 7 deletions(-) -- 2.49.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel