From: Jeremy Kerr Date: Wed, 31 Jul 2013 00:44:11 +0000 (+0800) Subject: parser/yaboot: Fix check for image presence X-Git-Tag: v1.0.0~537 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;ds=inline;h=404c07fc44449be7b011d1961280ef9c96e0760d;hp=404c07fc44449be7b011d1961280ef9c96e0760d;p=petitboot parser/yaboot: Fix check for image presence In the cleanup of yaboot option state, 3fb8fb6fb, we change from checking opt->boot_image to opt, to indicate that we're parsing an image section. We missed one check, which is causing a segfault due to the null opt. Signed-off-by: Jeremy Kerr ---