]> git.dujemihanovic.xyz Git - u-boot.git/commit
pxe: Fix crash if 'sysboot' is run without args
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Thu, 7 May 2015 18:29:18 +0000 (21:29 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 27 May 2015 17:35:48 +0000 (13:35 -0400)
commit0ece6b50f153fe2d349f4d26b18de4b0a3273537
treef717babba339a9dda9d3af42badee2f2ad229d25
parent445614cc2fbbbdb2be32663b7ba0927ac99cb353
pxe: Fix crash if 'sysboot' is run without args

Previously, a NULL pointer dereference would occur if the 'sysboot'
command is executed without any arguments.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_pxe.c