]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:46:07 +0000 (22:46 +0200)
commitb6b9df46859cd87949a04a28667ad97944002628
tree42559a0f68f82ae5cebb0147242fa12159e9b653
parent5956031d9d1b76df1d2b7f4dcacee9deb432a12f
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