On Tue, Apr 02, 2019 at 09:40:31AM -0700, Eric Snowberg wrote: > Function grub_strndup may return NULL, this is called from function > grub_ieee1275_get_devname which is then called from function > grub_ieee1275_encode_devname to set device. The device variable > could then be used with a NULL pointer.
Makes sense to me, and the handling matches how the immediately-following possible grub_malloc failure is handled. Reviewed-by: Colin Watson <cjwat...@ubuntu.com> -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel