summaryrefslogtreecommitdiffstats
path: root/board/astro/mcf5373l
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-14 00:57:14 +0200
committerMarek Vasut <marex@denx.de>2014-06-25 22:44:40 +0200
commit29425be49bf301b55807dd27f55678e6d0a81060 (patch)
tree7522de18aa885aaf1cfdb6d5bb525ac0b800ba5c /board/astro/mcf5373l
parent25d1936a192ac62b8df5dc33e37455dcaeb19fae (diff)
downloadtalos-obmc-uboot-29425be49bf301b55807dd27f55678e6d0a81060.tar.gz
talos-obmc-uboot-29425be49bf301b55807dd27f55678e6d0a81060.zip
usb: fastboot: fix potential buffer overflow
cb_getvar tries to prevent overflowing the response buffer by using strncat. But strncat takes the number of data bytes copied as a limit not the total buffer length so it can still overflow. Pass the correct value instead. cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> cc: Rob Herring <robh@kernel.org> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'board/astro/mcf5373l')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud