[U-Boot] [U-Boot,3/3] ext4: correctly zero filename

Tom Rini trini at ti.com
Thu Jun 12 00:19:48 CEST 2014


On Mon, Jun 09, 2014 at 03:29:00PM +0200, Jeroen Hofstee wrote:

> Since ALLOC_CACHE_ALIGN_BUFFER declares a char* for filename
> sizeof(filename) is not the size of the buffer. Use the already
> known length instead.
> 
> cc: Uma Shankar <uma.shankar at samsung.com>
> cc: Manjunatha C Achar <a.manjunatha at samsung.com>
> cc: Marek Vasut <marek.vasut at gmail.com>
> Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
> Acked-by: Marek Vasut <marex at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/a33b8196/attachment.pgp>


More information about the U-Boot mailing list