From: Samuel Mendoza-Jonas Date: Tue, 22 Nov 2016 00:00:42 +0000 (+1100) Subject: discover/platform-powerpc: Reject bootdevs with empty UUIDs X-Git-Tag: v1.3.2~1 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=5bf4ee3677385d655ad06878b9a504f606baa73e;hp=5bf4ee3677385d655ad06878b9a504f606baa73e;p=petitboot discover/platform-powerpc: Reject bootdevs with empty UUIDs If a "uuid:" label is set in the petitboot,bootdevs parameter without a matching UUID, the UUID is unintentionally accepted and set to NULL. This can cause a segfault in nc-config when device UUIDs are compared against the autoboot option. Instead treat options like this as malformed. Signed-off-by: Samuel Mendoza-Jonas ---