u-boot/arch/arm/cpu/armv7/vf610
Stefan Agner d7255e8ddb ARM: vf610: use strcpy for soc environment variable
To create the soc environment variable we concatenate two strings
on the stack. So far, strcat has been used for the first string as
well as for the second string. Since the variable on the stack is
not initialized, the first strcat may not start using the first
entry in the character array. This then could lead to an buffer
overflow on the stack.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-10-07 15:56:52 +02:00
..
Makefile tools: mkimage: add support for Vybrid image format 2016-10-06 09:06:16 +02:00
generic.c ARM: vf610: use strcpy for soc environment variable 2016-10-07 15:56:52 +02:00
timer.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00