NAND/TCL: fix segfault on syntax error
commit21a1c6ec33f87b6285e47ad6597cd49ad89a9485
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 31 Dec 2010 11:18:11 +0000 (31 19:18 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 2 Jan 2011 18:54:20 +0000 (2 19:54 +0100)
treef538e787ed08eff136ce89d5fc3a89fe72a3b6d7
parent7bb79f0f51e2c925ca99c82232e805569e9c39f2
NAND/TCL: fix segfault on syntax error

Fix segfault if incomplete command "nand device dummy"
is executed.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nand/tcl.c