Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | discover/pxe: check for a valid boot option before adding | Jeremy Kerr | 2013-09-06 | 1 | -0/+19 |
If we didn't find any valid boot options in the pxe buffer, we'll call discover_context_add_boot_option with a NULL boot option. This change adds a check before we try to add the boot option, and a test to verify this situation. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |