commit | 60d7d5a63189c9f77a190c9965861dc15482c2d0 | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Fri Mar 22 11:26:21 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Apr 02 16:23:34 2013 -0400 |
tree | 68bf7c543f8f282142eb7a10c700b3a3d86341fb | |
parent | c17b94ec5ec89c63070dd385b6c3a6645761c405 [diff] |
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>