From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 3 Dec 2010 16:52:19 +0100 Subject: [U-Boot] [PATCH 3/4 v2] UBIFS: Change ubifsload to not read beyond the requested size In-Reply-To: <1288628880-6910-1-git-send-email-sr@denx.de> References: <1288628880-6910-1-git-send-email-sr@denx.de> Message-ID: <201012031652.19655.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 01 November 2010 17:28:00 Stefan Roese wrote: > 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. Applied to u-boot-ubi/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de