[U-Boot] [PATCH 4/4] cmd/fat: Do not crash on write when <bytes> is not specified
Simon Glass
sjg at chromium.org
Mon Sep 19 02:57:55 CEST 2016
On 11 September 2016 at 14:51, Stefan Brüns
<stefan.bruens at rwth-aachen.de> 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>
> ---
> cmd/fat.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list