From: Samuel Mendoza-Jonas Date: Mon, 2 Feb 2015 05:50:13 +0000 (+1100) Subject: ui/ncurses: Prevent creation of empty boot entry X-Git-Tag: v1.0.0~79^2~3 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=7b67c329067af30ffd2a1dd44cd938a7ee55af56;hp=7b67c329067af30ffd2a1dd44cd938a7ee55af56;p=petitboot 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 ---