Home
last modified time | relevance | path

Searched hist:"49 a5e42a780dadf69fcac177143b0c8619ec467b" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/armv7/ls102xa/
H A Dfdt.c49a5e42a780dadf69fcac177143b0c8619ec467b Mon May 11 07:39:47 UTC 2015 Alison Wang <b18965@freescale.com> arm: ls1021a: Remove the inappropriate use of the function 'sprintf'

As the function 'sprintf' does not check buffer boundaries but outputs
to the buffer 'enet' of fixed size (16), this patch removes the function
'sprintf', and uses 'strcpy' instead. It will assign the character
arrays 'enet' and 'phy' the corresponding character strings.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>