diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-02-02 16:50:13 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-02-16 14:21:36 +1100 |
commit | 7b67c329067af30ffd2a1dd44cd938a7ee55af56 (patch) | |
tree | 436a3463883de30b89dc3f4b1319c2574b002cbf /ui/ncurses/nc-config.c | |
parent | 900412ec49f30fbb7872a5ff38538a19c17e20a2 (diff) | |
download | talos-petitboot-7b67c329067af30ffd2a1dd44cd938a7ee55af56.tar.gz talos-petitboot-7b67c329067af30ffd2a1dd44cd938a7ee55af56.zip |
ui/ncurses: Prevent creation of empty boot entry
A boot option requires an image path at minimum. If an option is
created without an image, trying to edit the resulting user item causes
a segfault. Prevent the user from creating a boot option without at
least an image path.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'ui/ncurses/nc-config.c')
0 files changed, 0 insertions, 0 deletions