diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-22 11:00:42 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-24 11:42:25 +1100 |
commit | 5bf4ee3677385d655ad06878b9a504f606baa73e (patch) | |
tree | da5a76edc3b329c53e0f24a45377a702b6f8ed25 /test/parser/test-grub2-single-line-if.c | |
parent | 3daa33e027e327e75835ed5570bab150cb5e7a10 (diff) | |
download | talos-petitboot-5bf4ee3677385d655ad06878b9a504f606baa73e.tar.gz talos-petitboot-5bf4ee3677385d655ad06878b9a504f606baa73e.zip |
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 <sam@mendozajonas.com>
Diffstat (limited to 'test/parser/test-grub2-single-line-if.c')
0 files changed, 0 insertions, 0 deletions