summaryrefslogtreecommitdiff
path: root/common/lcd.c
diff options
context:
space:
mode:
authorKyle Moffett <Kyle.D.Moffett@boeing.com>2011-02-23 06:18:24 +0000
committerGerald Van Baren <gvb@unssw.com>2011-04-17 21:08:41 -0400
commitd13ffa66aff1d9aed9081986492fb74c1a61a4a9 (patch)
treeadae07a5ad3c6ba229830445e8a41208416e267c /common/lcd.c
parent73e5476e1edf1b860dbd9b5fc21ef32ac1b551ba (diff)
downloadu-boot-imx-d13ffa66aff1d9aed9081986492fb74c1a61a4a9.zip
u-boot-imx-d13ffa66aff1d9aed9081986492fb74c1a61a4a9.tar.gz
u-boot-imx-d13ffa66aff1d9aed9081986492fb74c1a61a4a9.tar.bz2
fdt_support: Fix buffer overflow in fdt_fixup_memory_banks
When fdt_fixup_memory_banks is called with 2-cell address and size fields in the device-tree (IE: 64-bit address and size), then it will overflow its on-stack "tmp" buffer. This fixes the buffer size and adds a comment explaining how many bytes need to be allocated per record. Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com> Cc: Jerry Van Baren <vanbaren@cideas.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'common/lcd.c')
0 files changed, 0 insertions, 0 deletions