summaryrefslogtreecommitdiff
path: root/tools/img2brec.sh
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2012-01-17 09:37:41 +0000
committerTom Rini <trini@ti.com>2013-05-17 14:43:29 -0400
commita558ad71132fa6061ff950b9d3a12b0dad01b129 (patch)
treeba00c0c1b29245d1e3435259a839b1fbe58e1261 /tools/img2brec.sh
parent8ac28563a059bea49c23bfc4ae88f749ad2b47d3 (diff)
downloadu-boot-imx-a558ad71132fa6061ff950b9d3a12b0dad01b129.zip
u-boot-imx-a558ad71132fa6061ff950b9d3a12b0dad01b129.tar.gz
u-boot-imx-a558ad71132fa6061ff950b9d3a12b0dad01b129.tar.bz2
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 'tools/img2brec.sh')
0 files changed, 0 insertions, 0 deletions