dfu: Fix crash when wrong number of arguments given
authorPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 30 Nov 2012 08:01:08 +0000 (08:01 +0000)
committerMarek Vasut <marex@denx.de>
Sat, 16 Mar 2013 20:12:01 +0000 (21:12 +0100)
commitdf93cd9c6f620039ddcbbf68e8cfa3c3f0dba76f
tree95d6406d2a95eec792f6afcad86a2328a7d33032
parentea3e21226fdae4bbcb88e2de13480d122f617d64
dfu: Fix crash when wrong number of arguments given

Fix obvious crash when not enough arguments are given to the dfu
command.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
common/cmd_dfu.c