[U-Boot] [U-Boot, 4/4] cmd/fat: Do not crash on write when <bytes> is not specified

Tom Rini trini at konsulko.com
Fri Sep 23 21:55:54 CEST 2016


On Sun, Sep 11, 2016 at 10:51:42PM +0200, Stefan Brüns wrote:

> argc is checked, but is off by one. In case <bytes> is not specified,
> create an empty file, which is identical to the ext4write behaviour.
> 
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160923/1ac4ca59/attachment.sig>


More information about the U-Boot mailing list