summaryrefslogtreecommitdiffstats
path: root/include/usb_cdc_acm.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-03-22 11:26:21 +0000
committerTom Rini <trini@ti.com>2013-04-02 16:23:34 -0400
commit60d7d5a63189c9f77a190c9965861dc15482c2d0 (patch)
tree68bf7c543f8f282142eb7a10c700b3a3d86341fb /include/usb_cdc_acm.h
parentc17b94ec5ec89c63070dd385b6c3a6645761c405 (diff)
downloadblackbird-obmc-uboot-60d7d5a63189c9f77a190c9965861dc15482c2d0.tar.gz
blackbird-obmc-uboot-60d7d5a63189c9f77a190c9965861dc15482c2d0.zip
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 'include/usb_cdc_acm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud