On Mon, Jun 17, 2024 at 09:03:00PM +0200, Thomas Schmitt via Grub-devel wrote: > As reported by Victoriia Egorova in bug 65880, grub-mkrescue does not > verify that the expected argument of an option like -d or -k does really > exist in argv. > So check the loop counter before incrementing it inside the loop which > copies argv to argp_argv. Issue an error message similar to what older > versions of grub-mkrescue did with a missing argument (e.g 2.02). > > Fixes: https://savannah.gnu.org/bugs/index.php?65880 > Signed-off-by: Thomas Schmitt <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
