Re: LoadOptions handling in rhboot/shim fallback.c

2023-09-21 Thread Vitaly Kuznetsov
Mike Beaton writes: > Vitaly Kuznetsov has offered https://github.com/rhboot/shim/pull/611 > to fix the NVRAM entry generated by `add_boot_option(...)` in Shim's > `fallback.c`. > > It is quite pervasive in that file to treat the size of the loaded > image arguments as `StrLen(arguments) * 2` (ju

LoadOptions handling in rhboot/shim fallback.c

2023-09-15 Thread Mike Beaton
Vitaly Kuznetsov has offered https://github.com/rhboot/shim/pull/611 to fix the NVRAM entry generated by `add_boot_option(...)` in Shim's `fallback.c`. It is quite pervasive in that file to treat the size of the loaded image arguments as `StrLen(arguments) * 2` (just search for `StrLen(arguments)`