diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-03-22 11:26:21 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-02 16:23:34 -0400 |
commit | 60d7d5a63189c9f77a190c9965861dc15482c2d0 (patch) | |
tree | 68bf7c543f8f282142eb7a10c700b3a3d86341fb /spl | |
parent | c17b94ec5ec89c63070dd385b6c3a6645761c405 (diff) | |
download | u-boot-imx-60d7d5a63189c9f77a190c9965861dc15482c2d0.zip u-boot-imx-60d7d5a63189c9f77a190c9965861dc15482c2d0.tar.gz u-boot-imx-60d7d5a63189c9f77a190c9965861dc15482c2d0.tar.bz2 |
env: fix potential stack overflow in environment functions
Most of the various environment functions create CONFIG_ENV_SIZE buffers on
the stack. At least on ARM and PPC which have 4KB stacks, this can overflow
the stack if we have large environment sizes. So move all the buffers off
the stack to static buffers.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'spl')
0 files changed, 0 insertions, 0 deletions