summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/generic-main.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-07 14:36:51 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-05-09 08:47:54 +0800
commit038cb53fa8e19592b9c7021176fda194799f1d51 (patch)
tree61dd1a791c222d7d0cb2711a81feb93a766ae136 /ui/ncurses/generic-main.c
parent488fa97839822949f855de1efa3cf47756b7f72b (diff)
downloadtalos-petitboot-038cb53fa8e19592b9c7021176fda194799f1d51.tar.gz
talos-petitboot-038cb53fa8e19592b9c7021176fda194799f1d51.zip
ui/nc: Handle cui_opt_data with no boot option more gracefully
We can currently segfault petitboot by escaping from the option editor (before entering any details), then trying to boot the new, empty option. This change adds some sanity checks to prevent a segfault. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/generic-main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud