diff options
| author | Stefan Roese <sr@denx.de> | 2010-11-01 17:28:00 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2010-12-03 16:33:47 +0100 | 
| commit | b1a14f8a1c2e72d5c58269d0200f722d8eec19c4 (patch) | |
| tree | be575ad7fc80882733954bc7e20140de0bc559a0 /common/cmd_ubi.c | |
| parent | 9a2ea578bc2f556fd92a3bcb9127d3fc9c6ee1bd (diff) | |
| download | olio-uboot-2014.01-b1a14f8a1c2e72d5c58269d0200f722d8eec19c4.tar.xz olio-uboot-2014.01-b1a14f8a1c2e72d5c58269d0200f722d8eec19c4.zip | |
UBIFS: Change ubifsload to not read beyond the requested size
Until now ubifsload pads the destination with 0 up to a multiple of
UBIFS_BLOCK_SIZE (4KiB) while reading a file to memory. This patch
changes this behaviour to only read to the requested length. This
is either the file length or the length/size provided as parameter
to the ubifsload command.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/cmd_ubi.c')
0 files changed, 0 insertions, 0 deletions