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

Marek Vasut marex at denx.de
Mon Jun 9 19:58:31 CEST 2014


On Monday, June 09, 2014 at 03:29:00 PM, 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>

Nice :-)

Acked-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list