diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-21 16:28:35 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-24 13:30:01 +1100 |
commit | a23c3271090ddb9004678b8ede3b2ba8f83d7acf (patch) | |
tree | f1d4d149381a7ba4db89ed023f4568c8a6b75db5 /ui/ncurses/generic-main.c | |
parent | 9f29eb2eff09d7bf74905b1fef8eaf4f7934219e (diff) | |
download | petitboot-a23c3271090ddb9004678b8ede3b2ba8f83d7acf.zip petitboot-a23c3271090ddb9004678b8ede3b2ba8f83d7acf.tar.gz |
discover/platform-powerpc: Reject bootdevs with empty UUIDs
If a "uuid:" label is set in the petitboot,bootdevs or petitboot,bootdev
parameters 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 'ui/ncurses/generic-main.c')
0 files changed, 0 insertions, 0 deletions