Bug#891773: [PATCH] ieee1275: Fix crash in of_path_of_nvme when of_path is empty

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Mar 1 17:13:49 UTC 2018


On 03/01/2018 05:59 PM, James Clarke wrote:
> Whitespace issues aside, should it not be returning NULL if of_path is
> NULL, like the other users of find_obppath, such as of_path_of_scsi?

Hmm. Good point.

> This should restore the behaviour from before of_path_of_nvme was added,
> as grub_util_devname_to_ofpath would have previously returned NULL due
> to the unknown type?

Right. I'll wait for some comments from Daniel and Eric first though.

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-grub-devel mailing list