[U-Boot] [U-Boot, v4] bootm: Avoid 256-byte overflow in fixup_silent_linux()

Tom Rini trini at ti.com
Wed May 22 16:59:37 CEST 2013


On Tue, Jan 17, 2012 at 09:37:41AM -0000, Doug Anderson wrote:

> This makes fixup_silent_linux() use malloc() to allocate its
> working space, meaning that our maximum kernel command line
> should only be limited by malloc().  Previously it was silently
> overflowing the stack.
> 
> Note that nothing about this change increases the kernel's maximum
> command line length.  If you have a command line that is >256
> bytes it's up to you to make sure that kernel can handle it.
> 
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> Acked-by: Mike Frysinger <vapier at gentoo.org>

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/20130522/cb2d8ab0/attachment.pgp>


More information about the U-Boot mailing list