Skip to content
Commit b1a14f8a authored by Stefan Roese's avatar Stefan Roese
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent 9a2ea578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment