On Wed, Oct 29, 2014 at 11:21:38PM +0100, Rabin Vincent wrote:

> sandbox crashes if a variable is set in the -c command, because
> hush's top_vars is not allocated.  Call cli_init() from sandbox
> to ensure this is done before we execute the -c command.
> 
>  $ ./u-boot -c 'a=1'
>  ...
>  Segmentation fault (core dumped)
> 
> Signed-off-by: Rabin Vincent <ra...@rab.in>
> Acked-by: Simon Glass <s...@chromium.org)
> Tested-by: Simon Glass <s...@chromium.org)

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to