]> Git Repo - u-boot.git/commit
cmd/fat: Do not crash on write when <bytes> is not specified
authorStefan Brüns <[email protected]>
Sun, 11 Sep 2016 20:51:42 +0000 (22:51 +0200)
committerTom Rini <[email protected]>
Fri, 23 Sep 2016 12:55:58 +0000 (08:55 -0400)
commit454e3d90302d52b619e6df7ebbe716964cee016e
tree0a3b6842212e744950922c66cf48d65870350e60
parentae1755be37e3d51af631ff2df12189c9fdc3e1d7
cmd/fat: Do not crash on write when <bytes> is not specified

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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
cmd/fat.c
This page took 0.031876 seconds and 4 git commands to generate.