From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 22 May 2013 10:59:37 -0400 Subject: [U-Boot] [U-Boot, v4] bootm: Avoid 256-byte overflow in fixup_silent_linux() In-Reply-To: <1326829061-4682-1-git-send-email-dianders@chromium.org> References: <1326829061-4682-1-git-send-email-dianders@chromium.org> Message-ID: <20130522145937.GA10368@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 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 > Acked-by: Mike Frysinger 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: