In execute.c, coverity dinged this potential NULL-deref:

163           return grub_strtoul (grub_env_get ("?"), NULL, 10);

If grub_env_get ("?") can indeed return NULL,
you'll want to accommodate the possibility.
It would be nice to do that even if somehow
a NULL return is not possible, just to avoid the FP.

_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to