diff options
author | Doug Anderson <dianders@chromium.org> | 2012-01-17 13:37:41 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-17 22:43:29 +0400 |
commit | a558ad71132fa6061ff950b9d3a12b0dad01b129 (patch) | |
tree | ba00c0c1b29245d1e3435259a839b1fbe58e1261 /common/fdt_support.c | |
parent | 8ac28563a059bea49c23bfc4ae88f749ad2b47d3 (diff) | |
download | u-boot-a558ad71132fa6061ff950b9d3a12b0dad01b129.tar.xz |
bootm: Avoid 256-byte overflow in fixup_silent_linux()
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@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/fdt_support.c')
0 files changed, 0 insertions, 0 deletions