From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 11 Jun 2014 18:19:48 -0400 Subject: [U-Boot] [U-Boot,3/3] ext4: correctly zero filename In-Reply-To: <1402320540-17058-4-git-send-email-jeroen@myspectrum.nl> References: <1402320540-17058-4-git-send-email-jeroen@myspectrum.nl> Message-ID: <20140611221948.GR7841@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > cc: Manjunatha C Achar > cc: Marek Vasut > Signed-off-by: Jeroen Hofstee > Acked-by: Marek Vasut 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: