u-boot-brain/cmd
Stefan Brüns 454e3d9030 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 <stefan.bruens@rwth-aachen.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-09-23 08:55:58 -04:00
..
fastboot fastboot: implement Kconfig 2016-08-20 14:03:23 -04:00
aes.c
ambapp.c
armflash.c
bdinfo.c x86: bdinfo: Drop meaningless values 2016-08-16 11:44:09 +08:00
bedbug.c
blkcache.c cmd: blkcache: simplify sub-command handling 2016-04-11 12:44:38 -04:00
blob.c crypto/fsl: Update blob cmd to accept 64bit addresses 2016-08-02 09:45:39 -07:00
bmp.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
boot.c
bootefi.c cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments 2016-08-20 11:35:09 -04:00
booti.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
bootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
bootm.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
bootmenu.c
bootstage.c
bootz.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
cache.c
cbfs.c cbfs: Update a function to be static 2016-03-22 12:16:08 -04:00
clk.c
console.c
cplbinfo.c
cpu.c cpu: Add support for microcode version and CPU ID 2016-03-17 10:27:22 +08:00
cramfs.c Drop CONFIG_CRAMFS_CMDLINE 2016-03-14 15:34:50 -06:00
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c dfu: usb: f_dfu: Set deferred call for dfu_flush() function 2016-02-24 19:12:32 +01:00
diag.c
disk.c cmd: Rework disk.c usage 2016-09-09 15:53:14 -04:00
display.c
dtt.c
echo.c
eeprom.c eeprom: merge cmdline parsing of eeprom commands 2016-05-20 20:42:57 -04:00
efi.c
elf.c
ethsw.c
exit.c Remove the cmd_ prefix from command files 2016-01-25 10:39:43 -05:00
ext2.c
ext4.c
fastboot.c
fat.c cmd/fat: Do not crash on write when <bytes> is not specified 2016-09-23 08:55:58 -04:00
fdc.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
fdt.c cmd: fdt: add fdt overlay application subcommand 2016-08-20 11:35:05 -04:00
fitupd.c
flash.c
fpga.c
fpgad.c
fs_uuid.c
fs.c efi_loader: Pass file path to payload 2016-04-18 17:11:36 -04:00
fuse.c
gettime.c
gpio.c gpio: Report errors when GPIOs cannot be read 2016-03-17 21:27:37 -06:00
gpt.c cmd: gpt: fix the wrong size parse for the last partition 2016-08-05 20:55:16 -04:00
hash.c
help.c Drop command-processing code when CONFIG_CMDLINE is disabled 2016-04-01 17:17:40 -04:00
host.c sandbox: Add "host size" hostfs command for fs test 2016-09-18 21:04:38 -06:00
i2c.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
ide.c dm: ide: Separate the non-command code into its own file 2016-05-17 09:54:43 -06:00
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c cmd: replace the cast of the memory access to a fixed bit type in itest 2016-05-27 10:01:07 -04:00
jffs2.c nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
Kconfig fastboot: implement Kconfig 2016-08-20 14:03:23 -04:00
ldrinfo.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
led.c
license.c cmd: Fix license command 2016-03-22 12:16:13 -04:00
load.c Remove unused CONFIG_CMD_HWFLOW option and associated dead code. 2016-02-08 10:22:44 -05:00
log.c
lzmadec.c lzmadec: Use the same type as the lzma call 2016-07-25 12:05:54 -04:00
mac.c
Makefile cmd: Rework disk.c usage 2016-09-09 15:53:14 -04:00
md5sum.c
mdio.c
mem.c cmd: mem: Show 64bit addresses which are tested 2016-02-24 18:44:14 -05:00
mfsl.c
mii.c
misc.c cmd: misc: Add support for fractions in sleep 2016-07-25 12:00:05 -04:00
mmc_spi.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
mmc.c mmc: Drop dead mmc code for non-generic MMC 2016-05-26 20:50:29 -06:00
mp.c
mtdparts.c mtd: fix compiler warnings 2016-07-24 20:36:29 -05:00
nand.c nand: Fix some more NULL name tests 2016-09-01 20:08:48 -05:00
net.c
nvedit.c common: env: support sata device 2016-04-18 12:29:14 -04:00
onenand.c
otp.c
part.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
pci.c Implement "pci enum" command for CONFIG_DM_PCI 2016-01-28 21:01:23 -07:00
pcmcia.c
pmic.c
portio.c
pxe.c pxe: Fix pxe boot with FIT image 2016-09-07 08:49:02 -04:00
qfw.c cmd: qfw: do not require default macros when building qfw command 2016-05-23 15:18:00 +08:00
read.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
reginfo.c
regulator.c
reiser.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
remoteproc.c
sata.c dm: sata: Separate the non-command code into its own file 2016-05-17 09:54:43 -06:00
scsi.c dm: scsi: Separate the non-command code into its own file 2016-05-17 09:54:43 -06:00
setexpr.c
sf.c sf: fix sf probe 2016-09-12 08:44:54 -04:00
sha1sum.c
softswitch.c
sound.c
source.c
spi.c cmd: spi: check return value of strdup 2016-03-27 09:12:55 -04:00
spibootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
spl.c
strings.c Remove the cmd_ prefix from command files 2016-01-25 10:39:43 -05:00
terminal.c
test.c
thordown.c
time.c
tpm_test.c
tpm.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
trace.c trace: Fix compiler warnings in trace 2016-02-26 08:53:10 -07:00
tsi148.c
ubi.c ubi: add new ubi command "ubi detach" 2016-06-09 13:53:11 -04:00
ubifs.c
universe.c
unzip.c dm: blk: Rename get_device() to blk_get_device_by_str() 2016-03-14 15:34:50 -06:00
usb_mass_storage.c dm: usb: Use blk_dread/write() instead of direct calls 2016-07-27 14:15:54 -06:00
usb.c usb: dm: Make "usb info" use usb_for_each_root_dev() 2016-07-05 14:14:11 +02:00
version.c
ximg.c
yaffs2.c
zfs.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
zip.c